Restrict Template types to specific projects
Hi,
I want to restrict template-type to be available in specific project folder under /conf. It should not be available in other folders for creating the templates. How can I achieve this?
Thanks,
Rajeev
Hi,
I want to restrict template-type to be available in specific project folder under /conf. It should not be available in other folders for creating the templates. How can I achieve this?
Thanks,
Rajeev
You can try to set cq:allowedTemplate property in templates types jar:content node
e.g.
/conf/we-retail/settings/wcm/template-types/empty-page/jcr:content
Definition
[cq:PageContent] > nt:unstructured, mix:title, mix:created, cq:OwnerTaggable, sling:VanityPath, cq:ReplicationStatus, sling:Resource
orderable
- cq:template (string)
- cq:allowedTemplates (string) multiple
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.