Automatically sync local address book <> $Contacts view

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.

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Sjef BosmanGroupware ConsultantCommented:
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.
What version of client and server ?

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

I hope tis helps !
brwwigginsIT ManagerCommented:
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.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
BraData295Author Commented:
Hello experts!

Version is 6.5.x.

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


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

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Lotus IBM

From novice to tech pro — start learning today.