Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Touch UI Allowed Templates


Level 2

cq:allowedTemplates: "/conf/acme/settings/wcm/templates/(?!page-).*"


When I create a new page I see all templates in Touch UI. Classic UI works fine. 

How can I fix Touch UI?

6 Replies


Community Advisor

Hi @btaymaz 


If you want to allow only templates within your project i.e. acme then use the below rules:


cq:allowedTemplates of type String[] with value as /conf/acme/settings/wcm/templates/.*




Community Advisor

Hi @btaymaz 

Which node you are setting this property?


Let's say you have a website as /content/acme and under acme you want to create pages using the template, then you need to add the property to /content/acme/jcr:content node.


I Just tried and it works!


Community Advisor

@btaymaz It should be applied to the jcr:content node of type cq:PageContent. Should not be applied to the folder.

See the screenshot below: