Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.

AEM 6.2 schema data structured

Avatar

Level 3

Hello,

i manage a site in the version AEM 6.2. How can i insert a xml data structured in page's site? With a adaptive form or other tool? Can you help me please?

4 Replies

Avatar

Community Advisor

Hi @FrancoBarresi ,

 

Just trying to understand your requirement. If you want to feed the XML file in AEM system (read from DAM or from FTP location) and then fetch/store values in AEM system (may be page creation, for example)

 

  • You need to create OSGI service
  • Then can use JAXB, SAX or any other parser to read the XML file and get the values in Java POJOs.
  • To  persist the above fetched values, Sling APIs can be used.

https://howtodoinjava.com/jaxb/read-xml-to-java-object/

Thanks,

Ritesh Mittal

Avatar

Level 3

Hello Ritesh,

Thank you for your response. 

I would try to insert data structured, using a file XML schema, in a page of AEM 6.2. I have seen in many video that it's possible using AEM FORMS. It's correct? Do you know other way for this? Or a correct tutorial? 

 

Tham you

Avatar

Community Advisor

Hi @FrancoBarresi ,

 

I would suggest to post the query in Adobe Experience Manager Forms Community portal as well for better reach.

 

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager-forms/bd-p/experience-mana...

 

Thanks,

Ritesh Mittal

Avatar

Level 3

Hello, 

but i could try to create a content fragment to insert file xml (schema.org) for my pages in AEM 6.2? It's a possibile way?