Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

data-sly-resource statement and its options?

Avatar

Level 7

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