Calling all developers! We invite you to provide your input on Feature Experimentation by completing this brief survey.
Calling all developers! We invite you to provide your input on Feature Experimentation by completing this brief survey.
You can access these through the PageType class. Rather confusingly Properties are called Definitions in this case. Try something like this.....
var pageType = PageType.Load(this.PageTypeData.ID);
foreach (var property in pt.Definitions)
{
//do something
}
That's it! I saw that in the SDK but ignored it - 'Definitions' completely threw me.
Thanks a lot.
Hi,
I want to list out all the properties associated with a Page Type. How do I do this?
I'm not seeing any clues from the PageType class, so it would be good if someone could point me in the right direction.
Thanks,
James