Hi,
For our project requirement we need to overlay experience fragment(/libs/cq/experience-fragments/editor/components/experiencefragment) component. Now when we add this experience fragment component on the page and author experience fragment variation path which is not published, it should open a popup which displays the fragment which are not published same as dam assets when referred on the page(as shown in below screenshot). But in our case, page is published without popup.
Any pointers would be helpful.
Views
Replies
Total Likes
What code changes have you tried. Can you post the starting point of the changes you have implemented so community can suggest how best to implement. This is a very specific customization (without any docs) and in order for members to understand what you are trying to do - the code should be posted too.
Views
Replies
Total Likes
We have copied the experiencefragment component from /libs/cq/experience-fragments/editor/components/experiencefragment
and pasted it in our project specific folder. And in experiencefragment.html removed highlighted piece of code.
<sly data-sly-test=${data.fragmentPath}
data-sly-resource="${@path=data.fragmentPath, selectors='content', wcmmode='disabled'}"></sly>
Views
Replies
Total Likes
Also tried not doing any code changes in experiencefragment.html. Just copy pasted component in our project. Still it didn't work.
Views
Replies
Total Likes
I looked for examples here that can help - but could not find any. THis is not a common use case - that is the reason why there are no examples.
Views
Replies
Total Likes