AEM 6.2 schema data structured | Community
Skip to main content
Level 3
February 4, 2023

AEM 6.2 schema data structured

  • February 4, 2023
  • 1 reply
  • 1077 views

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?

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

1 reply

Ritesh_Mittal
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
February 5, 2023

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

Level 3
February 5, 2023

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

Ritesh_Mittal
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
February 5, 2023

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-manager-forms-qanda

 

Thanks,

Ritesh Mittal