How to add the same functionality of design dialog in a normal dialog? | Community
Skip to main content
shubhangis39772
New Participant
Jun 12, 2018 12:12 PM UTC
Solved

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

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.
smacdonald2008
smacdonald2008Accepted solution
Level 10
Jun 12, 2018 1:35 PM UTC

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

Ratna_Kumar
Level 10
Jun 12, 2018 1:42 PM UTC

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.

Translate
smacdonald2008
smacdonald2008Accepted solution
Level 10
Jun 12, 2018 1:35 PM UTC

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.

Translate