Include XF in Sightly

vdhim23 17-08-2019


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


Accepted Solutions (1)

Accepted Solutions (1)

Answers (0)