About
XMLRecords is an extension that allows you to convert OutSystems Records and RecordLists into XML and vice-versa.
Features List
1. RecordToXml: Allows you to convert a single record into structured XML.
2. RecordListToXml: Allows you to convert a record list into structured XML.
3. XmlToRecordList: Allows you to parse XML and fill out a RecordList.
Records composed of multiple structures are not supported.
String data is converted to XML safe formats (& -> &...)
Option fields
All functions allow you to specify options for the fields such as:
- the name that the attribute or record will get on the XML;
- if a recordlist is included as a sequence or as a child record with an inner sequence;
- if empty values should be discarded;
- the nullable value for a field;
- the namespace for a given structure/record type;
System Requirements and Limitations
- Latest version is for OutSystems 11;
- Older versions available for previous platform versions;
Notice:This component takes advantage of private and undocumented Platform APIs, which can change without notice. As a result, this component may unexpectedly break as the Platform is upgraded. We advise proper testing to ensure that your applications continue to work as expected when upgrading/patching the Platform.
- Added flag to control XML output to error logs for sensitive content use-cases (thanks to Rui Lopes for the headsup);