[XML Records] XmlToRecordList -Structure is getting populated , but values are empty in the object 

[XML Records] XmlToRecordList -Structure is getting populated , but values are empty in the object 

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

Hi Members,

We have this problem with XmlToRecordList. It's populating the structure only not the values in the object. Please find attached the .oml file with the test case.

Requirement is: Given an xml in the form of string should to be populated to an object.

Example used in oml is :

Xml : searchResultXml

Object to be populated is : SearchResult

Issue : Structure is getting populated , but values are empty in the object .


In the attached oml we are trying to populate only one field, but it is not working. For example , when the below xml is assigned searchResultsXml, still getting empty object only :

"<RecordList><SearchResults><WinningPrice>1000</WinningPrice></SearchResults></RecordList>"


Could you please help us with this?


Regards,
Pradeep