Expand my Community achievements bar.

Adobe Summit 2025: AEM Session Recordings Are Live! Missed a session or want to revisit your favorites? Watch the latest recordings now.

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

data-sly-resource statement and its options?

Avatar

Level 8

Hi

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