Leiste mit Community-Erfolgen erweitern.

Submissions are now open for the 2026 Adobe Experience Maker Awards.
GELÖST

Passing Data from design dialog to dialog

Avatar

Level 7

I have created on cq:designdialog in which I have given one textfield. Now once in the policy that textfield is updated I want that value to appear in dialog properties of textfield node or granite:data.

 

I am unable to do so. Is there any way to do so?

Themen

Anhand von Themen werden Community-Inhalte kategorisiert und Sie können so relevanten Inhalt besser finden.

1 Akzeptierte Lösung

Avatar

Korrekte Antwort von
Community Advisor

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/wc... 

Mahedi Sabuj

MS-29LinkedIn

Lösung in ursprünglichem Beitrag anzeigen

4 Antworten

Avatar

Korrekte Antwort von
Community Advisor

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/wc... 

Mahedi Sabuj

MS-29LinkedIn

Avatar

Community Advisor and Adobe Champion

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

Avatar

Community Advisor

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


Aanchal Sikka

Avatar

Administrator

@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.



Kautuk Sahni