Hi Experts,
we have one drop-down metadata field "Dealer ID". When user will select any value from this drop down then we want to call some external REST service and want to retrieve the some data and populate in to another metadata fields like (dealer name, dealer location etc. ) in same metadata schema.
For example in below screen Dealer Name and location will be populate based on dealer ID via external REST API
Can you please help us and suggest the approach like how it is possible in AEM 6.4.
Thanks
Solved! Go to Solution.
Views
Replies
Total Likes
Hi Sameer,
You can do it that as well for schema but I have never seen this kind of use case before so it is hard to find example but you can write javascript to make ajax call on selection of one dropdown and update another.
Views
Replies
Total Likes
you need to write JS event on select and populate fields into another dropdown, you can do it with DOM manupulation or they with datasource if works but not sure.
Example
AEM 6.0 Forms Help | Dynamically populating drop-down lists
Views
Replies
Total Likes
Hi Arun
Actually we want to do it on metadata schema editor not on dialog and forms.
Any example or sample for metadata schema?
Thanks
Views
Replies
Total Likes
Most third party integration done at component level (displayed in a component that is then visible in a web site) or dialog level. I have never seen an example for metadata schema.
Views
Replies
Total Likes
Hi Sameer,
You can do it that as well for schema but I have never seen this kind of use case before so it is hard to find example but you can write javascript to make ajax call on selection of one dropdown and update another.
Views
Replies
Total Likes
Arun is correct - this can be done - but this is a very uncommon use case - so you will not find examples in the Adobe docs and articles.
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies