How to add the same functionality of design dialog in a normal dialog? | Community
Skip to main content
shubhangis39772
June 12, 2018
Solved

How to add the same functionality of design dialog in a normal dialog?

  • June 12, 2018
  • 2 replies
  • 869 views

I have functionality like if I drag a component in parent page and edit it's dialog properties and after that I drag same component in child page, then changes must be reflected in child page. How to achieve that functionality?

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 smacdonald2008

A component dialog typically lets you set props of a component located on that page.

If you drag 2 instances of the same component - you would still need to set the component props via the dialog.

ie:

1 - Parent Page with ComponentX - dialog sets props for this instance of componentx

2 - Child Page with ComponentX - dialog sets props for this instance of componentx

That is typically how AEM and components work.

2 replies

smacdonald2008
smacdonald2008Accepted solution
Level 10
June 12, 2018

A component dialog typically lets you set props of a component located on that page.

If you drag 2 instances of the same component - you would still need to set the component props via the dialog.

ie:

1 - Parent Page with ComponentX - dialog sets props for this instance of componentx

2 - Child Page with ComponentX - dialog sets props for this instance of componentx

That is typically how AEM and components work.

Ratna_Kumar
Level 10
June 12, 2018

Hi,

I think that is not possible in your use case.

Typically if you drag and drop any component in any page whether it is parent or child page, you have to edit dialog properties for the particular component.

As Scott said, this is how AEM Component works!!

Thanks,

Ratna Kumar.