Is there an OOTB functionality or component available in AEM 6.2 to consume XML data from external application?
Solved! Go to Solution.
Views
Replies
Total Likes
You would need to write a Java service using Java APIS like org.w3c.dom that can work with XML. We have a community article that works with XML that can act as an example to get you up and running:
https://helpx.adobe.com/experience-manager/using/querying-experience-manager-data-using1.html
Also - i assume you would need to make a call to get the XML using somethign like a Restful call. We have some examples of that as well.
Hope this helps.
Views
Replies
Total Likes
You would need to write a Java service using Java APIS like org.w3c.dom that can work with XML. We have a community article that works with XML that can act as an example to get you up and running:
https://helpx.adobe.com/experience-manager/using/querying-experience-manager-data-using1.html
Also - i assume you would need to make a call to get the XML using somethign like a Restful call. We have some examples of that as well.
Hope this helps.
Views
Replies
Total Likes
Thank you
Views
Replies
Total Likes
Hi
You can write a Java service (OSGI service) which reads your XML data and using JCR API's create corresponding nodes (with all data and properties) inside CRX repository. Once you have all the data - you can read this anywhere on your pages(websites, widgets, etc). Generally use XSLT to convert from one format to other.
Please have look at this post:- http://stackoverflow.com/a/31435442/6433590
// AEM6. XML import to JCR
Reference article :-https://helpx.adobe.com/experience-manager/using/migrating-data-cq.html
// Migrating DITA XML data to Adobe CQ
I hope this would help you.
~kautuk
Views
Replies
Total Likes