Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Include XF in Sightly

Avatar

Level 5

Hi,

I need to add XF in sightly as static include. e.g.

<sly data-sly-resource="${@ path=xfpath, resourceType='cq/experience-fragments/editor/components/experiencefragment'}" />

Here xfpath is the path of experience fragment. But this fragment not display on my page. what is the way to do it?

xfpath = /content/experience-fragments/myapp/en/products/1234

Regards,

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

<sly data-sly-resource="/content/experience-fragments/myapp/en/products/1234"></sly>



Arun Patidar

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

<sly data-sly-resource="/content/experience-fragments/myapp/en/products/1234"></sly>



Arun Patidar