Include XF in Sightly | Community
Skip to main content
Level 5
Aug 17, 2019 9:07 PM UTC
Solved

Include XF in Sightly

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,

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
arunpatidar
arunpatidarAccepted solution
New Participant
Aug 18, 2019 8:21 PM UTC

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

Arun Patidar

1 reply

arunpatidar
arunpatidarAccepted solution
New Participant
Aug 18, 2019 8:21 PM UTC

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

Translate
Arun Patidar