[XML Records] How to create XML Structure from Input Fields data

Forge Component
Published on 27 May (3 weeks ago) by João Melo
36 votes
Published on 27 May (3 weeks ago) by João Melo


I needed to create some complex xml by collecting data from web page. I created web page in my espace. Web page has 4 to 5 input fields. I needed to construct xml using these input fields values. What is the best way to do it in outsystems.



Hi Aarti,

I'm not sure from your description where you're having difficulties.

In order to produce an XML from a set of parameters using XML Records, all you need to do is:

  1. create a structure with the desired information
  2. call RecordToXML on a record of that structure to serialize it into XML

Were you able to achieve what you wanted, or are  you having difficulty on a specific step?

Hi aarti,

Are you able to solve your problem?