Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

data-sly-resource statement and its options?


Level 5


I was looking over the expression options used in sightly. I tried the below line of code, but it seems just render a modal. Can someone provide use of options with some good examples. I mostly do not understand the data-sly-resource statement and its options.

<sly data-sly-test="${modal.hasModal && modal.validXfPath}"
data-sly-resource="${@path=modal.modalPath, appendPath='jcr:content', resourceType='xxx/components/structure/xfpage', selectors='content', wcmmode='disabled'}"></sly>


0 Replies