Dynamically show the dialog based on dropdown selection | Community
Skip to main content
Level 5
Jan 20, 2020 11:34 AM UTC
Solved

Dynamically show the dialog based on dropdown selection

Hi,

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

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

 

Thanks in advance.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
sunjot16
sunjot16Accepted solution
Employee
Jan 20, 2020 9:31 PM UTC

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.

3 replies

sunjot16
sunjot16Accepted solution
Employee
Jan 20, 2020 9:31 PM UTC

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.

Translate
arunpatidar
New Participant
Jan 20, 2020 3:02 PM UTC
Arun Patidar
Level 2
Jan 20, 2020 2:20 PM UTC

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/wcm/components/list/v2/list

Translate