London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
AI OnAI Off
London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
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