Expand my Community achievements bar.

July 31st AEM Gems Webinar: Elevate your AEM development to master the integration of private GitHub repositories within AEM Cloud Manager.

Retrieve list of country/state/city list for use in AEM component


Level 8

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.

4 Replies


Level 8

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.


Level 1


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.