Passing Data from design dialog to dialog | Community
Skip to main content
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Mahedi_Sabuj
Mahedi_SabujAccepted solution
New Participant
November 8, 2023

AEM Core Navigation Component implemented same requirement.

value="${not empty cqDesign.navigationRoot ? cqDesign.navigationRoot : ''}"

https://github.com/adobe/aem-core-wcm-components/blob/main/content/src/content/jcr_root/apps/core/wcm/components/navigation/v2/navigation/_cq_dialog/.content.xml#L58 

Mahedi Sabuj

4 replies

kautuk_sahni
Employee
November 9, 2023

@ronnie09 Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.

Translate
Kautuk Sahni
aanchal-sikka
New Participant
November 8, 2023

Please refer to this blog: https://kiransg.com/2023/11/05/accessing-component-policies-in-aem-at-the-component-dialog-level/

 

It has step-by-step details

Translate
Aanchal Sikka
Mahedi_Sabuj
Mahedi_SabujAccepted solution
New Participant
November 8, 2023

AEM Core Navigation Component implemented same requirement.

value="${not empty cqDesign.navigationRoot ? cqDesign.navigationRoot : ''}"

https://github.com/adobe/aem-core-wcm-components/blob/main/content/src/content/jcr_root/apps/core/wcm/components/navigation/v2/navigation/_cq_dialog/.content.xml#L58 

Translate
Mahedi Sabuj
BrianKasingli
New Participant
November 9, 2023

I concur, follow the patterns of the Adobe Core Component's Project, and without over-engineering, it will be handled as expected. 

Translate