I was able to set up the local replica and replicate the first time, but I cannot get the new replica to show in the replication folder with the rest of the users' databases. I did check to make sure replication is enabled on the Lotus Notes database.
I have to set this on 100+ laptops, so we'd like to be able to use some LotusScript code to accomplish this. Thank you.
My guess is that you used the createReplica method to create a local replica of the Lotus Notes database, and you were surprised that this did not update the replication page. The fact is that just creating the local replica does not create the needed icons on the workspace.
Here is the procedure you need to follow:
- Call notesUIworkspace.AddDatabase to add a workspace icon for the server copy of the Lotus Notes database.
- Call notesUIworkspace.createReplica to create the local replica.
- Call notesUIworkspace.AddDatabase again, this time to add an icon for the local replica copy.
At this point, since both the server and local copies are represented by icons on the local workspace, the link between the two will exist on the replication tab.
Do you have comments on this Ask the Expert Q&A? Let us know.
Related information from SearchDomino.com:
Dig deeper on LotusScript
Related Q&A from Cregg Hardwick
A user wants to know if it's possible for LotusScript to read an attachment in a Notes document without first detaching it. Find out our expert's ...continue reading
Learn about different options using LotusScript code and Formula language to customize the principal field of outgoing Lotus Notes email messages.continue reading
Read about merging cells in a Microsoft Word table using LotusScript and an Excel example, along with the thought process that goes along with it.continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.