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

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

  
Forge Component
(27)
Published on 2016-06-15 by Ricardo Silva
27 votes
Published on 2016-06-15 by Ricardo Silva

Hi,


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.


Thanks,

Aarti

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?