2022

Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

...

Code Block
invoice_num,date,po,id,[product_code,prod_qty,prod_amt],total

Wiki MarkupAny value within "\[" and "\]" will be treated like a sub item where the column before "\[" will be the driving column, i.e. and change in that item will create a new XML. In this example "id" becomes the *grouping column*.

Wiki MarkupThe split create a node on the element just before "\[" with "list". So in the above example the XML will be like -

Code Block
<row>
 <invoice_num>value</invoice_num>
 <date>value</date>
 <po>value</po>
 <id id="">
 <list>
 <product_code>value</product_code>
 <prod_qty>value</prod_qty>
 <prod_amt>value</prod_amt>
 </list>
 <list>
 <product_code>value</product_code>
 <prod_qty>value</prod_qty>
 <prod_amt>value</prod_amt>
 </list>
 </id>
 <total>value</total>
 </row>

Now to map, all you have to do is map the target loop structure to "id/list" along with the field maps.

Only one level of grouping is allowed, i.e. there can only be one "\[" and one "\]"
  • The grouping column ( the the above case "id") should not be mapped to any field other than to be the loop field in the mapping.
  • Info
    titleLimitations:
    Wiki Markup