Expand my Community achievements bar.

SOLVED

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

Avatar

Level 7

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 

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @tushaar_srivastava,

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

Vijayalakshmi_S_0-1616705538721.png

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hi @tushaar_srivastava,

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

Vijayalakshmi_S_0-1616705538721.png