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

Avatar

Avatar

pradeepdubey82

Avatar

pradeepdubey82

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)

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K
smacdonald2008

11-03-2019

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

Answers (5)

Answers (5)

Avatar

Avatar

pradeepdubey82

Avatar

pradeepdubey82

pradeepdubey82

11-03-2019

Yes this is what i was looking.

Thank you very much for the help.

Regards,

Pradeep

Avatar

Avatar

mr_chawla

Avatar

mr_chawla

mr_chawla

11-03-2019

Hi Pradeep,

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

Regards,

Sumeet.

[1]: Adobe Experience Manager Help | Cascading Metadata

Avatar

Avatar

Prince_Shivhare

Avatar

Prince_Shivhare

Prince_Shivhare

11-03-2019

it is something you want to change OOTB function.

have you find the lib files?

Avatar

Avatar

pradeepdubey82

Avatar

pradeepdubey82

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

Avatar

Avatar

Prince_Shivhare

Avatar

Prince_Shivhare

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