: 4582 | 108668 | 12353

Adding new parameters to Notesdatabase.CreateReplica 
Use this IdeaSpace to post ideas about Domino Designer.

: 38
: 38
: 0
: Domino Designer
: lotusscript, designer
: Thomas Schulte725 17 Mar 2008
: / Email
Think about the following scenario:
There is this HUGE datebase with loads of documents and using GIBs of space when fully replicated.
Your Workforce does for their daily/weekly/monthly work need a local replica of the database.
They have access to all of the documents of that database, so you can not make use of reader and author fields.
And they want to be able to select the documents they need by themselves. Creating a replica of the database by pushing a button selecting the needed documents in a form which builds the replication formula for them and then creates the replica and fills it with the selected documents.
This is an easy one you think?
Yes it is easy as long as the database to replicate is not that big, because the first thing that happens when you create a new replica via script in the backend is that all of the documents are replicated and only after doing this you can change the replication formula and replicate again to get only the subset of documents you want.
Yes there are solutions to that problem out in the wild. Vince  Schuurman gave one clue of how to solve it here:
Another approach coming from Hynek Kobelka can be seen here:
And there are some more out there.
What i would like to see is either.
  • a method to create an empty replication stub as the client does when you disable "create immidiate" in the frontend
  • or two new parameters for notesdatabase.CreateReplica(Servername, Filename, Empty as boolean,Replicationformula as string)

1) Jan Schulz4408 (17 Mar 2008)
We have exactly this problem...
2) Ulrich Krause4897 (19 Mar 2008)
@Thomas: Found this on OpenNTF ( { Link } )
I haven't tried yet, but it looks like it does what you want.


Welcome to IdeaJam

You can run IdeaJam™ in your company. It's easy to install, setup and customize. Your employees, partners and customers will immediately see results.

Use IdeaJam to:

  • Collect ideas from employees
  • Solicit feedback and suggestions from employees and customers
  • Run innovation contests and competitions
  • Validate concepts
  • Use the power of "crowd-sourcing" to rank ideas and allow the best ideas to rise to the top

IdeaJam™ works with:

  • IBM Connections
  • IBM Lotus Quickr
  • Blogs and Wikis
  • Websphere Portal
  • Microsoft Sharepoint
  • and other applications.

IdeaJam has an extensive set of widgets and API's that allow you to extend and integrate IdeaJam™ with other applications.

Learn more about IdeaJam >>

IdeaJam developed by

Elguji Software Logo