Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.

Repeating subforms written out of sequence in XML submission

Avatar

Former Community Member
I have a form with a repeating subform that I am submitting as XML. The problem I'm seeing is that the XML elements for the 2nd thru N occurrences of the subform are written out of sequence toward the bottom of the XML. Here's the form structure...










And here's what I'm seeing in the aubmitted XML, with 3 instances of the repeating subform created...












Any clues ?
1 Reply

Avatar

Former Community Member
I don't believe you have any control over this - at runtime, the newly generated instances are appended to what's already in the container. Can you change the process that's working with this file to not depend on them being in a particular arrangement? For example if you're processing with something that supports XPath, ask for all the repeatingSubform children of topSubform and you'll get those three together..



--

SteveX

Adobe Systems