Page type class id

Jon Tibbetts asked on February 24, 2015 20:13

How do you access the classid based on a pagetype class name.

Recent Answers

Jan Hermann answered on February 25, 2015 08:24


it depends where. For instance by using macros you can retrieve it like this:

{% GlobalObjects.DocumentTypes[""].ClassID %}

so for Page (menu item) it would be:

{% GlobalObjects.DocumentTypes["CMS.MenuItem"].ClassID %}

Best regards,
Jan Hermann

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.