I created a copy of the List core component by overlaying it, and I've customized it pretty heavily. None of the options in the design dialog apply anymore, so I'd like to disable it altogether so that there is no Policy icon on the component in the template editor.
Does anyone know how to do this?
Solved! Go to Solution.
Views
Replies
Total Likes
I believe you are not overlaying but overriding using proxy component for wcm core list component.
In this case you need to hide design_dailog.
Create the design_dialog node and create a property sling:hideResource
Views
Replies
Total Likes
Hi,
if you don't want design dialog you can delete it from your copied component or keep it empty without items.
Views
Replies
Total Likes
Thanks for your response.
I didn't copy the component (though maybe that's what I need to do) - I overlayed it. Deleting the cq:design_dialog node just makes it use the dialog from the core component. I could keep it empty, but I was hoping for a cleaner way to just disable it altogether.
Views
Replies
Total Likes
while overlay you have option to hide certain property or node
you can use sling:hideChildren = cq:design_dialog
Using the Sling Resource Merger in AEM
Thanks
Arun
Views
Replies
Total Likes
Where would I put that? I tried a couple things but it didn't work.
Views
Replies
Total Likes
I believe you are not overlaying but overriding using proxy component for wcm core list component.
In this case you need to hide design_dailog.
Create the design_dialog node and create a property sling:hideResource
Views
Replies
Total Likes
Nice response Arun - as always
Views
Replies
Total Likes