Specific mechanisms during Import can be controlled by a number of control attributes, which are configured as fields of the respective nodes in the import structure.
Control attribute | Value | Short description |
|---|---|---|
|
| Removes all entries from a list. |
|
| Removes a single element. |
|
| Identifies an element in a list by its sequence position (not supported for all lists). |
|
| When true, the list entry is not added if it could not be resolved. |
|
| Skips resolving the data of an object before updating – replaced by: |
| Specifies the merging mode of the node. The default value is Therefore the default mode is | |
| Use the parent object mode. | |
| Mapped values are taken over and merged. Unmapped values are retained. | |
| Mapped values are taken over and merged. Unmapped values are discarded. Exception for entities:
| |
| No existing data will be resolved. Therefore, only mapped data will be taken over. | |
| Specifies the merge mode of a list. The default value is Therefore the default mode is | |
| Use the parent object mode. | |
| Mapped values are taken over and merged. Unmapped values are retained. | |
| Mapped values are taken over and merged. Unmapped values are discarded. | |
|
| Valid only for All unmapped child line items are taken over anyway. |
| Line item prefix or regular expression | Valid only for All applicable unmapped line items will be copied over. A list separated by "," can be specified. The single values can be a prefix or a regular expression:
|
Control node | Value | Brief description |
|---|---|---|
| The first object of a list that matches the configured rule is used for updating. |
The use of each attribute is explained by means of examples:
Common to all cases is the following checklist for creating the attribute field in a profile:
The field is in the correct position within the import structure?
The field name combines the name of the control attribute (
clear,delete,index,skipResolve) with the suffix '_attr'?The appropriate value is assigned to this attribute as a fixed value, by mapping or functions?
The data type matches the assigned value?
The entry
corewas assigned to the 'XML Namespace' property?
The following screenshot illustrates the items of the checklist in the editor for the target structure of a profile:
| The example shows a node that deletes the first entry of a plural text attribute within an address. (1) Position The correct position for the field that defines the (2) Name Between the actual name of the control attribute ( (3) Value The Fix value (4) Data type The appropriate Data type in this case is 'Boolean'. (5) XML namespace The |
In cases of doubt, it is advisable to inspect the generated target structure (XML), where deviations from the objective structure may be easier to recognize than in the profile itself.
...
<base:AddressText core:delete="true">
<value core:index="0" textType="ACCESS_CODE"></value>
</base:AddressText>
...