AnsweredAssumed Answered

XML mapping help - element with diff attribute names

Question asked by srinijilla on Dec 28, 2017
Latest reply on May 16, 2018 by rramachandran841326

Hi 

 

Looking for help to map elements for the following profile with sample data. 

In the map, I only see one instance of Field. However I have multiple elements with different attribute names.

I want to default the values that I have shared in the sample.

 

Can anyone help me how can I achieve this. 

 

XML Profile:

XML sample part of the payload:

<ucm:Document>
 

<ucm:Field name="dDocTitle">WorkOrderSupplies.zip</ucm:Field>
<ucm:Field name="dSecurityGroup">FAFusionImportExport</ucm:Field>
<ucm:Field name="dDocType">Document</ucm:Field>
<ucm:File href="WorkOrderSupplies.zip" name="primaryFile">

 

<ucm:Contents>

   cid:1427627544763</ucm:Contents>
</ucm:File>
<ucm:Field name="dDocAccount">scm$/planningDataLoader$/import$</ucm:Field>
</ucm:Document>

Thanks,

Srini

Outcomes