Expand my Community achievements bar.

SOLVED

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

Avatar

Level 7

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?

 

static-and-edtiable-templates.png

 

1 Accepted Solution

Avatar

Correct answer by
Level 7

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!

View solution in original post

1 Reply

Avatar

Correct answer by
Level 7

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!