388
Views
2
Comments
[XML Records] XML Attribute node format to Outsystems Structure
Question
xml-records
Service icon
Forge asset by Afonso Carvalho

Hi,

Does anyone here have tried converting XML Attribute node format to Outsystems Structure?



Here's an example

<information>

  <attribute name="FirstName" value="myFirstName" />
  <attribute name="LastName" value="myLastName" />

</information

2026-03-09 12-26-51
Fábio Fantato
 
MVP

HI Ota,

I don´t use this component for a long time, but If I remember you could try to create 2 structures:

information - contains attribute record lists

attribute contains attr_FirstName and attr_Value

and set AttibutePrefix from XMLRecord to "attr"


If this not work as soon as I got env I try to test it and send an example to you.


Best Regards

Fabio Fantato


2020-12-23 11-21-45
C M

I tried creating 2 structures, which are:

1.information
Fields: List of attribute

2. attribute
Fields:

       * attr_FirstName
       * attr_value


My xml is: 

"
<information>
    <attribute name=""FirstName"" value=""myFirstName"" />
</information>
"


attribute prefix: "attr_"


But I'm not getting any values.
Please see the attached file.
Thank you

information.PNG
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.