I have a requirement where I need to read xml file and convert it to aem page. Is there a way to do it?
Please check below link
Here's how I would do it.
There are two options available.
1. Import XML data by scheduler, store it in UGC & use that data on the page based on your requirement.
2. Say storing it in UGC not required, then you can skip saving it in UGC & create page whenever scheduler runs using the xml data.
refer this blog to import & store xml data in UGC.
Hi @rk39193348 ,
First we need to write OSGI service to read data and persist key value properties in CRX repo using JCR API's and once the XML data is available in JCR node properties, we can access and display it on any page.