Needs to dynamically populate drop down in classic dialog from an external DB and based on the selection of that drop down, I need to populate another drop down. The data for the drop down will be fetched from External DB using Sling Servlets. We are able to populate the First dropdown using Sling Servlets. Based on that selection, I need to populate another drop down, which also has to be dynamically populated by External DB call. Please Suggest on this..
Views
Replies
Total Likes
You can hook in a drop-down to a servlet - see:
https://helpx.adobe.com/experience-manager/using/dialog_fields_servlets.html
This article shows two drop-down controls being populated.
Views
Replies
Total Likes
Hi,
As Scott mentioned, you can configure your drop down to fetch values from s json which is generated as a servlet response.
For Classic UI - please go through the following links.
https://docs.adobe.com/docs/en/aem/6-1/develop/components/xtypes.html
https://docs.adobe.com/docs/en/aem/6-1/ref/widgets-api/index.html?class=CQ.form.Selection
Regards,
Ashwin Raju
Views
Replies
Total Likes
Hi,
As Scott mentioned, you can configure your drop down to fetch values from s json which is generated as a servlet response.
For Classic UI - please go through the following links.
https://docs.adobe.com/docs/en/aem/6-1/develop/components/xtypes.html
https://docs.adobe.com/docs/en/aem/6-1/ref/widgets-api/index.html?class=CQ.form.Selection
Regards,
Ashwin Raju
Views
Replies
Total Likes