I want to have a button that will create a local replica of the current database and assign a replication formula specific to that user. I have tried this with sample code in Domino Designer Help and with code on SearchDomino.com. Both failed. The Help code kicked off the new replica before I could assign the formula, so a full replica was made. The Search Domino code is flawed, disabling replication on the server db before attempting to create the local replica. This obviously fails because the server db can't replicate. Does anyone know how this can be done? I basically want to automatically set the values that would appear in a New Replica dialog so the user does not have to set them. These are the examples I have tried to adopt to this purpose, which failed as described above.
Help example: http://publib.boulder.ibm.com/infocenter/domhelp/v8r0/index.jsp?topic=/com.ibm.designer.domino.main.doc/H_EXAMPLES_REPLICATIONENTRY_CLASS.html
Searchdomino example: http://searchdomino.techtarget.com/tip/Create-a-replica-stub-with-Lotus-Script
Thanks in advance for your help.
July 5, 2011 8:36 PM
July 5, 2011 8:50 PM