Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Is there any way to programmatically query the list of allowed templates for the current node?
Thanks
Hi Manwood,
You could do something like the following:
var allowedTemplates = DocumentType.GetByAlias(Node.GetCurrent().NodeTypeAlias).allowedTemplates;
Hope that helps
Matt
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
How can I query the allowed templates for a node or document?
Is there any way to programmatically query the list of allowed templates for the current node?
Thanks
Hi Manwood,
You could do something like the following:
Hope that helps
Matt
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.