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

Avatar

Avatar

tushaar_srivastava

Avatar

tushaar_srivastava

tushaar_srivastava

25-03-2021

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

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

Vijayalakshmi_S

MVP

Avatar

Vijayalakshmi_S

MVP

Vijayalakshmi_S
MVP

25-03-2021

Hi @tushaar_srivastava,

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

Vijayalakshmi_S_0-1616705538721.png

Answers (0)