Include XF in Sightly | Community
Skip to main content
Level 5
August 17, 2019
Solved

Include XF in Sightly

  • August 17, 2019
  • 1 reply
  • 1433 views

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.
Best answer by arunpatidar

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

1 reply

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
August 18, 2019

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

Arun Patidar