I am listing the templates in my code and accessing to the html page via umbracoAPI. When using FileService.GetTemplates() method, it extracts all the templates including master template. I want to exclude master template from my selection and only want to get the other templates. Is there any way to check this via code?
Find if a template is master template
I am listing the templates in my code and accessing to the html page via umbracoAPI. When using FileService.GetTemplates() method, it extracts all the templates including master template. I want to exclude master template from my selection and only want to get the other templates. Is there any way to check this via code?
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.