i try to build a bidirectional synchronization project (AdHocProvisioning and Synchronization (TargetSystem is master)) via CSV Connector and running into issues.
OneIM side of the namespace is build up on Unified Namespace (UNSRoot, UNSContainerB, UNSGroupB, UNSAccountB, UNSAccountBHasUNSGroupB).
Target System side is a single csv file which has a fixed format as this file has to be imported in some SaaS-App unfortunately not allowing SCIM. There are some base attributes like "Email, Firstname, Lastname, etc" and for the authorization there is set of MVP-Fields like Module1Roles, Module2Roles, ...' delimited by "|". Each of these ModuleRoleColumns refer to a designed UNSContainerB-Structure containing n UNSGroupB-Objects (the MVP-values) assigned to n UNSAccountBs within the UNSRoot.
So far I have configured the following:
- Defined the relevant properties of the CSV-File to MVP Properties and set isreference = 1 (selfreference to the csv see last step of the list)
- Created a scope on the IM-Side with System filter on Ident_UNSRoot
UID_UNSGroupB IN (
- Created a Mapping with Leftside (UNSAccountB) and rightSide (the csvFile)
- Created some other Object and property matching rules
I try to map the virtual property to the MVP column of the CSV using a Multe-reference mapping rule. As the CSV-MVP-column could not be selected i set the value is reference to 1 an referenced it to the csv-file itself. The mapping test fails in both directions
Mapping test from left to right leads to the following exception
-----
Solution
Check the mappings, which map the schema type (UNSGroupB). These must be fully defined. Therefore, they must have a property mapping rule matching each property used by the object matching rule.
Mapping test from right to left does change values.
What i'm missing here?
Thank you in advance
Martin