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

AEMWizard

07-03-2020

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

 

Accepted Solutions (1)

Accepted Solutions (1)

AEMWizard

07-03-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!

Answers (0)