Include XF in Sightly

Avatar

Avatar

vdhim23

Avatar

vdhim23

vdhim23

17-08-2019

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,

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.0K

Correct Answer

831

Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.0K

Correct Answer

831
Arun_Patidar
MVP

18-08-2019

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

Answers (0)