Highlighted

Query on AEM component edit

ashokuddaraju

11-05-2018

We developed a static header component in aem 6.2v and used the component in a template and created 2 pages using the template.

We now want to edit the header component and the changes done in header component should be reflected across 2 pages automatically.

Can you please suggest on how to edit the header component to make then changes global ?

Replies

Highlighted

Arun_Patidar

MVP

11-05-2018

you can use event listener to listen changes in header node.
and based on that you can update 2 pages using Node API.

Highlighted

Kunwar

Employee

14-05-2018

why not have a design_dialog if you want to share the components in multiple pages as the changes would be on the template level or down the line use the template editor to lock items which would be same over content structure