This project has moved. For the latest updates, please go here.

modification-type-mappings

The <modification-type-mappings> element allows the MA to determine the change type during delta operations.

The <modification-type-mappings> element is required for delta imports, but must not be present within the import-mapping element for a full import.

<modification-type-mappings> syntax

XML Attribute Description Allowed Values
capture-group-name The name of the capture group defined in the object-extract element that contains change type Any valid regular expression capture group name
unexpected-modification-type-action Defines the action to take when an unexpected modification type is encountered ignore - drops the object from the delta import. error - returns an error to FIM indicating that the connector space object could not be imported

Child elements

XML Element Description Allowed Values
modification-type-add The inner text of this element contains the value to expect in the capture group when an object add is to be performed Any value that is not found in the other modification-type elements
modification-type-replace The inner text of this element contains the value to expect in the capture group when an object replace is to be performed Any value that is not found in the other modification-type elements
modification-type-delete The inner text of this element contains the value to expect in the capture group when an object delete is to be performed Any value that is not found in the other modification-type elements

Example

<import-mapping>
    <object-extract><![CDATA[^(?changeType[ard]):(?<accountName>.+)?:\*?:(?<gid>.+)?:(?<members>.+)?$]]></object-extract>
    <modification-type-mappings capture-group-name="changeType" unexpected-modification-type-action="ignore">
        <modification-type-add>a</modification-type-add>
        <modification-type-replace>r</modification-type-replace>
        <modification-type-delete>d</modification-type-delete>
    </modification-type-mappings>
</import-mapping>
The example shown takes the capture group changeType from the object-extract action, uses the values a, r, and d to define an add, replace, or delete operation.

Note: The MA does not support partial object updates. Only full object replacements are supported for delta imports.

Last edited Sep 20, 2013 at 11:53 PM by ryannewington, version 1