We have replicas of all databases on all servers. We want a doc link sent to a user to point to the user’s home server, since this is the nearest server to the user.
It seems that in a system promoted as a distrbuted system this would be a piece of cake. Clearly it isnt.
We dont want all users to have have local replicas on their desktops of all corporate db.
IDeas?
Subject: FInding nearest server replica
robert,
Don’t send a link for this type of activity, send a button with code that looks up the user’s Home/Mail server and does whatever it is that you need to do. Look in the Sandbox for sample buttons that do things like update Location documents etc.
Bob
Subject: Last is first
My understanding is that when you click to open a database from the workspace or bookmark bar is that it opens the most recently accessed replica, unless that one is not found.
So, when you send out your note that links them to the database, either just send them a database link to the closest server or send a button that computes their closest server (if every site has it’s on OU, that’s an easy way to figure it out).
I suspect that if you had to use code that would compute which replica was the closest, it would take quite some time to open any replica of any database to open, since it would have to wait to timeout or connect to the most distant servers. I further suspect that this is the reason Notes doesn’t have such code…
Just my thinking,
Dave
Chub Toad, LLC