Reuse links between mappings
When two mappings synchronize the same objects bidirectionally, use the links property in one mapping to have Advanced Identity Cloud use the same link for both mappings. If you do not specify a links property, Advanced Identity Cloud maintains a separate link for each mapping.
The following excerpt shows two mappings, one from MyLDAP accounts to managed users, and another from managed users to MyLDAP accounts. In the second mapping, the link property indicates that Advanced Identity Cloud should reuse the links created in the first mapping, rather than create new links:
{
"mappings": [
{
"name": "systemMyLDAPAccounts_managedUser",
"source": "system/MyLDAP/account",
"target": "managed/realm-name_user"
},
{
"name": "managedUser_systemMyLDAPAccounts",
"source": "managed/realm-name_user",
"target": "system/MyLDAP/account",
"links": "systemMyLDAPAccounts_managedUser"
}
]
}
Reuse links between mappings using the admin console
To reuse the links from an existing mapping, select Link Mapping when you create the mapping in the Advanced Sync editor.
Learn more in Create an advanced sync mapping.