<Mappings>
The <Mappings> element is the parent for one or more <Map> elements, each of which maps a specific value in the imported XML to a specific business object property.
<Map>
Each <Map> element maps an element or attribute in the XML data to a property of the target business object. In most cases the <Map> elements define the data to be imported, but if the step’s action is “Select” or “Lookup,” the <Map> elements specify the search parameters. This table describes each attribute of the <Map> element.
Attribute | Description |
---|---|
Target | Property of the parent step’s target business object to which the source value is mapped. You can use dot notation to drill into child business objects. Required. |
Source | XML element, attribute, or inner text that provides the value for the mapping. To specify an attribute as the source, use an @ symbol. |
Optional | Indicates whether this mapping is optional. If the mapping isn’t optional, the import processor will return an error if no source value is found. |
DefaultValue | Default value to use for the target property if no source value is found. |