Auotmate the process of importing an xml file in AEM | Community
Skip to main content
laxmi_pandir
November 21, 2016
Question

Auotmate the process of importing an xml file in AEM

  • November 21, 2016
  • 1 reply
  • 2299 views

I am working on a project and i need to automate the process to import an xml file to migrate content into a component in AEM. How can i achieve this?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

kautuk_sahni
Community Manager
Community Manager
November 21, 2016

Hi

You can write a Java service (OSGI service) which reads your XML data and using JCR API's  you can create corresponding nodes (with all data and properties) inside CRX repository to persist it. 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

 

Reference Post:- http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manager.topic.html/forum__4zcf-hi_all_we_arepl.html

// Migrate website from Teamsite to AEM (XML structures  To AEM)

I hope this would help you.

~kautuk

Kautuk Sahni