Programmatically Enable Contact Sync

I’m creating an application that uses Interop.Domino.dll to configure the Notes 8.5 client to our enterprise specifications. However, I’m having a problem tracking down where Notes stores the setting for the Enable “Contact Synchronization” on the Replicator option. I’ve dug through names.nsf and the mail file both, but haven’t had any success thus far. Does anyone happen to know where this setting lives?

Subject: Personal address book

So local names.nsf - profile document Form=“DirectoryProfile”

Field ContactDelegationSwitch sets it but more important is field “ContactDelegationMailRepID” where the rep id of the mail db to synch with is picked up by the replicator code.

I’m not sure if setting this programmatically will get the replicator to recognise the change - it maybe there is a hook on the preference save that tells the replicator - I cannot remember so just worth a try.

This is from the back of my memory so excuse me if I have any detail wrong

Subject: Thanks!

Excellent info, Steve! Thank you!

The replicator does indeed pick up the change directly from the profile document. So, the ‘Enable “Contact Synchronization” in the Replicator’ option in Preferences is checked, and the replicator shows the checkbox under Enabled for Contacts. However, said checkbox is not checked, so replication is still not happening.

Subject: Please let me know…

…if you find a solution!

I have the same issue with a box which I can’t check by code or policy. Only manual.

  • odde

Subject: Any updates?

I’m looking for the same functionality.