[AEM6.5.5] Template property and Experience Fragment related query. | Community
Skip to main content
tushaar_srivastava
Level 6
March 25, 2021
Solved

[AEM6.5.5] Template property and Experience Fragment related query.

  • March 25, 2021
  • 1 reply
  • 986 views

Hi Team,
I have a template structure like

<?xml version="1.0" encoding="UTF-8"?> <jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" jcr:description="Description" jcr:primaryType="cq:Template" jcr:title="Form" allowedPaths="/content/www/.*/.*/forms(/.*)?" ranking="{Long}2200"> <jcr:content jcr:primaryType="cq:PageContent" sling:resourceType="project/commons/components/pages/objectForm"/> </jcr:root>

I have to create a Experience Fragment of same template but as we can see the allowedPath is restricted to 

/content/www/.*/.*/forms(/.*)?

But while creating XF we have path /content/experience-fragments in which the above template is not allowed.
Here we are restricted to change the allowedPath from the template.d
So is there any property through which I can enable that template under path /content/experience-fragments

@arunpatidar  @kautuk_sahni  @vijayalakshmi_s 

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 Vijayalakshmi_S

Hi @tushaar_srivastava,

Navigate to and select desired project specific folder within - /content/experience-fragments -> Properties -> Allowed Templates. 

1 reply

Vijayalakshmi_S
Vijayalakshmi_SAccepted solution
Level 10
March 25, 2021

Hi @tushaar_srivastava,

Navigate to and select desired project specific folder within - /content/experience-fragments -> Properties -> Allowed Templates.