In we-retail xf template-type
initial/jcr:content/sling:resourceType points to xfpage while
structure/jcr:content/resourceType points to core component page ??
Which page component shall be used for xf template ? core OR xf page ??
In general what are the implications of such setup ?? why do we need this ??
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @Adilmo,
Defining sling:resourceType in initial and structure refers to the page rendering component for the respective template.
For XF, page rendering component is the one that inherits from OOB resource - cq/experience-fragments/components/xfpage
Defining the same as part of initial and structure of XF's template-type and template, brings in Variation, Building blocks when we create XF pages using those templates (specific to XF page editor)
In general,
Let know if you are looking for any other details.
Hi @Adilmo,
Defining sling:resourceType in initial and structure refers to the page rendering component for the respective template.
For XF, page rendering component is the one that inherits from OOB resource - cq/experience-fragments/components/xfpage
Defining the same as part of initial and structure of XF's template-type and template, brings in Variation, Building blocks when we create XF pages using those templates (specific to XF page editor)
In general,
Let know if you are looking for any other details.
Views
Replies
Total Likes
Hi,
It can point to different page rendering components as evident from we-retail. (Templates/template-types of XF pages has initial to be XF and Structure to be core page)
This is to be viewed in two different standpoint - Both from template editor and from pages (created using that template) as they both are resources of type cq:Page
From a template editor,
From page(created using that template),
To be more precise to your query in the original post,
From XF editor standpoint, it is two different rendering. But the XF page (as available in /content/experience-fragments) is of resourceType as defined in initial. (You can cross check the resourceType of any of the XF page master variation)
Views
Replies
Total Likes
Views
Likes
Replies