Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
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.