[XML Records]  How to use RecordToXml with List?

Forge Component
(43)
Published on 2019-11-25 by Afonso Carvalho
43 votes
Published on 2019-11-25 by Afonso Carvalho


Hey,

I want to generate XML using RecordToXml, but I have a list within a list and so the attribute name repeats in xml. How can I make sure that only one appears?


Structure I am using:


Generated XML:


The underlined items are the items that I wouldn't like to repeat

Solution
Processing Upload...

Hi,

Check the attached OML for reference. You have change the RecordListMode in config to S.

Regards.

Solution

Thanks for the reply!

But oml is not loading, could you send me again?

RecordListMode is like C

Hi,

This is what I had in the action.

Regards.

Attaching as zip