Hi All,
Suppose we have a component dialog and we would like to show the above information in the corresponding drop downs.
Any webservices/api's that can be used to meet this requirement.
Any reference articles/pointers on how this can be done, will be helpful.
Views
Replies
Total Likes
Hi,
Please refer to the below links. These might help you in your requirement.
Touch UI dynamic selection of multiple drop downs | Adobe AEM Club
Implement DataSource for drop down using Sightly AEM 6.1 | Adobe AEM Club
Views
Replies
Total Likes
Hi Saurabh,
Thank you for your reply.
Sorry for not being too clear. Actually I need to pull this data from say
Geonames or Google Geocode.
Any reference articles/pointers on how to go about this will be helpful.
Views
Replies
Total Likes
Hey,
DataSource gives you have the complete control on to your business logic in JAVA. http://www.adobeaemclub.com/implement-datasource-for-drop-down-using-sightly-aem-6-1/
Implement DataSource for drop down using Sightly AEM 6.1 | Adobe AEM Club
You can call the APIs from where you are planning to collect data and return it inside datasource.
Have a look at GitHub - googlemaps/google-maps-services-java: Java client library for Google Maps API Web Services
Thanks
Hey,
Mostly you will get JSON or XML response from these Geoname or Geocode APIs.
Assuming you are using TouchUI, you can parse over that response and create the DataSource using the links provided. Same can be included in component's dialog as select for populating dropdown.
Thanks!!
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies