AEM6.4 SP3 Asset metadata editor | dynamically populate list upon selection change

pradeepdubey82 10-03-2019

Hi All,

I have a requirement to populate the 2nd list when changing the value in first list in asset metadata editor

Say for example Option1, Option2 are the dropdown in  first list.

When selected option1, 2nd list should have values (xxx,yyy,zzz)

When selected option2, 2nd list should have values (aaa,bbb,ccc)

Please let me know if someone has any idea on this. Any help  is highly appreciated.

Thanks,

Pradeep

Accepted Solutions (1)

Accepted Solutions (1)

Answers (5)

Answers (5)

pradeepdubey82 10-03-2019

This is  neither page properties nor component dialog. I clearly mentioned asset metadata editor. In asset metadata editor there is a drop-down. In first drop-down I have fixed values, in 2nd drop-down values are dynamic those are based on selection changed in first drop-down.

I hope you understood my question and problem.

Thanks,

Pradeep

Prince_Shivhare 10-03-2019

you have to populate the fields in dialog or in page?

if it is dialog the please go with this article-

AEM 6.0 Forms Help | Dynamically populating drop-down lists

Adobe Experience Manager Help | Dynamically updating Adobe Experience Manager TouchUI Dialog Select ...

Article is for classic ui, something similar you can go ahead with touch ui.

and if you want to populate the field in page, then let me know I have done coding on populating DAM assets folders in page.

so on selection of parent node, child folders will appear in second dropdown.

~ Prince