Hello All - I have a tab with multifield section in the page-properties with three fields.
Basically I wanted to show all the previously selected values in the dropdown on edit of the page property. I can make an ajax call and pass the selected value in the field 1 to the servlet to populate the dropdown but I wanted to use it a datasource.
Is there any way to pass the multifield - field 1 value to datasource using some listeners in the dialog node and populate the dropdown and hidden value. This should work for edit of the page properties as well without creating a separate clientlib and making Ajax call.
Please let me know if this is feasible approach or any better solution to handle this.
Solved! Go to Solution.
Views
Replies
Total Likes
Hi,
datasource are static and values are populate on page load.
You have to use ajax call here e.g. https://aemlab.blogspot.com/2022/01/aemaacs-touch-ui-dialog-dynamic-dropdown.html
Hi,
datasource are static and values are populate on page load.
You have to use ajax call here e.g. https://aemlab.blogspot.com/2022/01/aemaacs-touch-ui-dialog-dynamic-dropdown.html