Highlighted

AEM 6.1 : Dynamically updating Classic UI Dialog Select Fields

souhaylabdouni

24-01-2019

Hello,

We are trying to dynamically inject the options of a select field on classic ui dialog.

The options would be provided by a servlet and injected via an extjs plugin.

In touch ui we found this solution : Adobe Experience Manager Help | Dynamically updating Adobe Experience Manager TouchUI Dialog Select ...

It's works because there is the magic event : "dialog-ready"

Is there a similar event on classic ui ?

Thank you !

Replies

Highlighted

souhaylabdouni

24-01-2019

smacdonald2008 ,

In our case the options are provided by an ACS Generic List Page : Generic Lists

We are in a multi-site context, and each site has it's own ACS Generic List

We want to load the right options from the right site.

So to do that, we were coding a extjs plugin to calculate the path of the ACS Generic List and we facing an issue on how to inject the calculated path to the options attribute of the select in the dialog

Highlighted

smacdonald2008

24-01-2019

On the backend - write a Java class that can read these values stored in the JCR and the servet can get them and then you can inject into the classic ui dropdown.