SkonJeet
SkonJeet

Reputation: 4905

Creation/use of EpiServer properties

I'm working with EpiServer CMS 6 on the ASP .net 4.0 platform. I can create a property in Admin Mode just fine but is there a way to create properties in Visual Studio? (Not necessarily custom properties, just a simple String property for now). Am I right in saying the only way to do this would be by using Page Type Builder?

Upvotes: 0

Views: 208

Answers (1)

tompipe
tompipe

Reputation: 949

You can use the API to create PageTypes and PageDefinitions in code. Here is a good starting point.

I would recommend you use PageTypeBuilder instead though, it offers many advantages over the API.

Upvotes: 5

Related Questions