Hi team,
I want to populate touch UI dialog's select field from json file, is it possible without writing any backend/java code?
I am looking for an option similar to class UI dialog where we can specify options="<location of json file path>" for selection widget which automatically populates widget with the options from json file.
Thanks & Regards,
Rachna
Solved! Go to Solution.
Views
Replies
Total Likes
Hi
wrote a small blog about this approach, thanks all for your valuable inputs.
As per my understanding, there is no OOTB functionality for that use case and you have to write custom code. More details at [1]
You must write custom Java code for this. You can use WCMUse class for this purpose: Adobe Experience Manager Help | Using an WCMUsePojo class to populate an Experience Manager Touch UI...
Another method that also involves writing some custom code is to use the DataSource class:
Adobe Experience Manager Help | Using Granite DataSource objects to populate AEM Touch UI objects
Hi all,
Thank you for your replies, we ended up using acs commons generic lists using data source option.
Hi
wrote a small blog about this approach, thanks all for your valuable inputs.
Views
Like
Replies
Views
Likes
Replies