Create a local replica with replication formula

3845 pts.
Tags:
Domino Designer
Lotus Domino
Lotus Notes
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.

 

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following