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.
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!