I have two dropdown
1st dropdown - Alpha, Beta, Gamma as a dropdown option in dialog.
2nd drop drown - Dynamically populating using generic list
if Alpha in 1st dropdown is chosen then ACS Common generic list (/etc/acs-commons/lists/alpha-list) data should be shown in drop down
if Beta is chosen then ACS Common generic list (/etc/acs-commons/lists/beta-list) data should be shown in drop down
Similarly if Gamma is chosen then ACS Common generic list (/etc/acs-commons/lists/gamma-list) data should be shown in drop down How can I achieve this.
I have followed below url and extracting single generic list using servlet and data population is working fine but confused about how to proceed for the above scenario
http://www.sgaemsolutions.com/2019/01/dynamically-populate-drop-down-values.html#:~:text=Using%20gen....
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
Please go through these links which explain and mostly achieve your requirements:
https://adapttoaem.blogspot.com/2021/02/setting-dynamic-dropdownselect-value-in.html (If you follow this link you just need to add an AJAX call to your ACS List and would be it)
https://levelup.gitconnected.com/aem-populate-a-drop-down-with-a-data-source-edafada90cc4
Hope this helps.
Please go through these links which explain and mostly achieve your requirements:
https://adapttoaem.blogspot.com/2021/02/setting-dynamic-dropdownselect-value-in.html (If you follow this link you just need to add an AJAX call to your ACS List and would be it)
https://levelup.gitconnected.com/aem-populate-a-drop-down-with-a-data-source-edafada90cc4
Hope this helps.
Views
Likes
Replies