260
Views
6
Comments
Solved
How to read content in xml file and convert into list of record structure?
Question

Hi all,

I have a XML file with sample data but I don't how to read that XML file and convert content of file into the list of record structures in Outsystems?

Is there any extension or component on Forge that can help me to browse to XML file and convert the content of the file into the list of record structures?


Regards,

Huy Nguyen,

mvp_badge
MVP
Rank: #19
Solution

Hi Huy,

There are some options to do this, but the easiest way is using the following Forge component 

https://www.outsystems.com/forge/component-overview/153/xml-records

Regards,

Daniel 

Rank: #426

Hi,

 I found this:

https://www.outsystems.com/forge/component-overview/3709/xmltojson

If it works then u need to use widget serialize/deserialize to convert json to/from outsystems.

regards

mvp_badge
MVP
Rank: #19

The question was to convert XML to a recordist, there is no need to rondo an extra conversion from XML to json in-between. 

The component I proposed is a better option in my opinion.

mvp_badge
MVP
Rank: #19

Hi Deepak,

You can use server logic in mobile, or do you need the functionality while the mobile application is offline?

Regards,

Daniel