Subject: Lotuscript Replicate is not Sending Documents
I found a tech note on this. Here is a portion of it:
The Replicate method is a back-end method that works differently than the User Interface replication functionality. The Replicate method requires the server to have the appropriate access via the ACL to replicate any changes to the client database.
Additional Considerations with the Replicate Method:
The server name must be specified in full canonical format for the method to work correctly. For example:
Flag=db.replicate(“CN=ServerZ/O=Lotus”)
For additional information on this requirement,refer to the document “No Replication Occurs via the LotusScript Replicate Method; Server Name Must Be in Canonical Format” (#155542 ).
The server must have at least Editor access rights in the ACL. (This access can be set via Default access, explicit entry, or by group.)
In Notes R5 there is an issue which prevents the Replicate method from working correctly unless the server has an explicit entry in the ACL. This has been reported to Lotus Quality Engineering in Software Problem Report (SPR) # LABN4R3QXM.
NOTE: In order to replicate updates to design notes, the server must have at least Designer access. Also, if there are ACL changes to be replicated, the server must have Manager access.
If the documents to be replicated and or updated contain a Reader and or Author Names field there is the additional requirement: The server must be specified in the Reader or Author Names field accordingly. This step can be performed in a number of ways:
-
The server name can be explicitly added to the field in abbreviated hierarchical format or full canonical format.
-
The server can be added via a role or group.
*Note: If the server is added via a group, the user’s local Name and Address book must contain that group.
This particular issue (that the server needs to have appropriate access rights in the ACL) has been reported to Lotus Quality Engineering.
(I made this change in our test environment and it cleared up the problem)