Can I use Static and Editable Templates on a JCR Path Together? | Community
Skip to main content
Level 6
March 7, 2020
Solved

Can I use Static and Editable Templates on a JCR Path Together?

  • March 7, 2020
  • 1 reply
  • 2094 views

Is it possible to use Static and Editable templates under one same JCR Site structure? For example, the out of the box we-retail project uses editable templates. I'm trying to create a static template for the we-retail site; its not showing on the page creation page. This is a new author AEM 6.4 build, without any customizations.
In the screenshot below, it indicates that I've created a new AEM static template, and set allowedPaths to allow template to be used under /content/*... On page creation, the template is not showing; only the editable templates are showing.

What to do?

 

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by SupportMember

The content node of /content/we-retail/jcr:content has the property, String[] cq:allowedTemplates which after inclusion of the static templates, "/apps/weretail/templates/.*", it works!

1 reply

SupportMemberAuthorAccepted solution
Level 6
March 7, 2020

The content node of /content/we-retail/jcr:content has the property, String[] cq:allowedTemplates which after inclusion of the static templates, "/apps/weretail/templates/.*", it works!