Learn how to a build a cloud-first strategyRegister Now


Automatically sync local address book <> $Contacts view

Posted on 2006-04-05
Medium Priority
Last Modified: 2013-12-18
Hello N/D-Experts!

I'm looking for a way to automatically synchronize all my users local address books to $Contacts in their mailfile on the server. I know there is an action for that but it's not working with my users. Of course the function is working but my users seems to simply forget to activate the sync.

Any one here who have a script, some information or a link to something useful that will make sure all local address books will be syncronized with the server. It's okay to initiate a sync every time the user open his mailbox.

I'm familiar with LotusScript aswell as VBScript so i can at least read code samples.

Also, i have googled for a soloution but i havent found anything useful.

Question by:BraData295
LVL 46

Expert Comment

by:Sjef Bosman
ID: 16380384
You mean the action called Synchronize Address book? And you have iNotes? You could create a scheduled agent that triggers that agent. Drawback: the agent will also be triggered when the user doesn't want it, e.g. when he's in the middle of a presentation. Replication can be triggered automatically, in R6, to happen when Notes is started and/or stopped.

A suggestion: send a mail to all your users each week/month to remember them to synchronise the Address Books.
LVL 63

Expert Comment

ID: 16380403
What version of client and server ?

In the Designer search for synch and replication. something should pop up

I hope tis helps !
LVL 20

Accepted Solution

brwwiggins earned 2000 total points
ID: 16381411
We did something similar for our execs that kept complaining. I looked at the action included and copied the code from Lotus and pasted it into the postopen event of the database script on their mail file.

Now granted these are users with a server on the same LAN that use a desktop so I didn't have to worry about this functions affect on remote users or WAN traffic. But if you want to give it a try here it is...

'Sync iNotes Contacts
If Not (source.Database.Server ="") Then
     Call iNotes_DoSync(D_CONTACTS, False)
End If

The reason I check if the server is local (i.e. ="") was because I noticed that for some reason this script gets copied into the archive databases and so everytime they would open their archive db the script would run again. Since they work directly off the server it wasn't an issue.

The second argument in the function call (False) will supress the popup message you receive after synching the address books from the actions menu. The details of the synch will be put in the status bar.

Author Comment

ID: 16389593
Hello experts!

Version is 6.5.x.

I will test brwwiggins soloution and then i get back to you!



Author Comment

ID: 16477135
Just so you know, I havent got time to test this soloution yet.


Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I thought it will be a good idea to make a post as it will help in case someone else faces these issues. I trust this gives an idea how each entry in Notes.ini can mean a lot for the Domino Server to be functioning properly. This article discusses t…
This article covers general Notes 8.5 troubleshooting information including recreating the Notes\Data folder.
Integration Management Part 2
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
Suggested Courses

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question