Question

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?

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top