Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Dynamically show the dialog based on dropdown selection

Avatar

Level 4

Hi,

I need to show the set of dialog based on the first dialog drop-down.

aravindS_0-1579520014998.png

based on the above selection need to show some text field, pathbrowser.

 

Thanks in advance.

1 Accepted Solution

Avatar

Correct answer by
Employee

Are you implementing it in Metadata Schema? If yes, the following document may be helpful:

https://helpx.adobe.com/ca/experience-manager/6-5/assets/using/metadata-schemas.html

 

 

You can go add two drop-down fields, and set their Settings, such that the second is visible/enabled only when the first one is selected.

View solution in original post

3 Replies

Avatar

Level 2

Hi,

You could use the list component from AEM Sites Core Components as an example.
It has a conditional rendering depending on the source selected.
https://github.com/adobe/aem-core-wcm-components/tree/master/content/src/content/jcr_root/apps/core/...

Avatar

Correct answer by
Employee

Are you implementing it in Metadata Schema? If yes, the following document may be helpful:

https://helpx.adobe.com/ca/experience-manager/6-5/assets/using/metadata-schemas.html

 

 

You can go add two drop-down fields, and set their Settings, such that the second is visible/enabled only when the first one is selected.