Expand my Community achievements bar.

SOLVED

How do I disable the design dialog on an overlayed component?

Avatar

Level 1

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?

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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

    • type: Boolean
    • value:  true

Screen Shot 2018-07-12 at 9.52.16 PM.png



Arun Patidar

View solution in original post

6 Replies

Avatar

Community Advisor

Hi,

if you don't want design dialog you can delete it from your copied component or keep it empty without items.



Arun Patidar

Avatar

Level 1

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.

Avatar

Community Advisor

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



Arun Patidar

Avatar

Level 1

Where would I put that?  I tried a couple things but it didn't work.

Avatar

Correct answer by
Community Advisor

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

    • type: Boolean
    • value:  true

Screen Shot 2018-07-12 at 9.52.16 PM.png



Arun Patidar