Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
You can always use a selection factory to control the options.
http://world.episerver.com/blogs/Linus-Ekstrom/Dates/2013/12/SingleMultiple-selection-in-EPiServer-75/
If you do that one you get full control of your drop-down but a little more work. You can use
var repository = ServiceLocator.Current.GetInstance<PageTypeRepository>();
Use the list method to generate the options
http://world.episerver.com/documentation/class-library/?documentId=cms/7/083daf2b-a239-d900-4d3d-3bfb250b79a8
Then either set default value like you do or set it in factory. It's hidden in the metadata object and called initial value.
Not sure how to go about setting a default value for a PageType property
For example:
The PageType property provides drop down list of all the page types.
How do you have one selected by default, or force the dropdown to only show a subset of pagetypes/
Thanks