Closed markleusink closed 5 years ago
I believe copyToDatabase() is less performant that .createDocument() and .copyAllItems(). As a workaround, I'd recommend using the latter format and, unless anyone knows to the contrary, I suggest we change the code to do this anyway.
It appears that the parentDatabase reference isn't updated after copying a document using copyToDatabase(). The code below outputs the same replica ID for both the source and target parent databases.
If you run the same code using the lotus.domino objects, it returns the corrent (different) replica id's.