Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session
SOLVED

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

Avatar

Level 6

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

1 Accepted Solution

Avatar

Correct answer by
Level 10

The issue you have is there is not a lot of docs on how to modify the asset metadata editor.

There is this - Extending Asset Editor

I checked with the Eng team too - they recommend that you look here:

Adobe Experience Manager Help | Cascading Metadata

View solution in original post

6 Replies

Avatar

Community Advisor

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

Avatar

Level 6

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

Avatar

Community Advisor

it is something you want to change OOTB function.

have you find the lib files?

Avatar

Level 2

Hi Pradeep,

You could refer to [1] if the cascading metadata help your case.

Regards,

Sumeet.

[1]: Adobe Experience Manager Help | Cascading Metadata

Avatar

Correct answer by
Level 10

The issue you have is there is not a lot of docs on how to modify the asset metadata editor.

There is this - Extending Asset Editor

I checked with the Eng team too - they recommend that you look here:

Adobe Experience Manager Help | Cascading Metadata

Avatar

Level 6

Yes this is what i was looking.

Thank you very much for the help.

Regards,

Pradeep