Passing Data from design dialog to dialog | Community
Skip to main content
New Participant
November 8, 2023
Solved

Passing Data from design dialog to dialog

  • November 8, 2023
  • 3 replies
  • 1115 views

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?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Mahedi_Sabuj

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 

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

Kautuk Sahni
aanchal-sikka
New Participant
November 8, 2023
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 

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.