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
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

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

tushaar_srivastava
Level 4
Level 4

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

@Arun_Patidar  @kautuk_sahni  @Vijayalakshmi_S 

aem6.5.5 Experience Fragments Templates Touch UI Touchui dialog
1 Accepted Solution
Vijayalakshmi_S
Correct answer by
Community Advisor
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
Vijayalakshmi_S
Correct answer by
Community Advisor
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