Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events

Does naming a dialog as "design_dialog" automatically stores input variable globally per site ?

Avatar

Employee

We understand that design dialog is created using label as design_dialog in dialog creation wizard of AEM.

But just naming a dialog as "design_dialog" automatically stores input variable globally per site ? Or we need any more configurations to store data globally per site ?

1 Reply

Avatar

Employee

Using design dialog we can store inputs globally for all templates using a design.


Basically design dialogs allows you to store configurations that can be accessed across pages. Data entered in design dialog input box is stored at \etc\design\design_name\jcr: content for each template. Update from a design dialog will be reflected across all pages created using the same template.

1. By naming a dialog as design_dialog , we specify that data will be stored globally and not at \content location.

2. By creating a design and attaching the design to the page  , we specify the location of the where input will be stored.