Error on Sync to Notes Destination Constraint_ViolationCreated: 2012-04-20 08:09:59
Modified: 2022-09-10 09:01:39
Tags: Errors Lotus Notes / Domino Troubleshooting UnitySync
This is a common error when syncing to Lotus Notes.
The default mapping for Last Name is
sn#64=~sn~. This means the source sn must be populated in order to successfully set the destination sn (Last Name).
Notes requires that sn be populated. So if the source sn is blank, the Add to your Notes destination will fail with a Constraint_Violation error.
The workaround for this is to use a custom object map file and change the sn mapping as follows:
sn#64=& '~sn~' eq " \? '~component0~' : '~sn~' &
With this adjustment, if the source sn is blank, the Destination Notes sn will be populated with the source cn value from the DN, which will enable the object to Add successfully.