set view=dbSource.Getview("ViewName") set doc=dbSource.GetdocumentByUnid ("ViewName.UniversalId") call doc.CopytoDatabase(dbDestination)
But if you are looking at how to access design documents and then copy them into another database, Tim Tripcony's tip Using DXL classes to create version control shows how easy it can be done in ND6. The code he provides in the tip is a good place to get started.
Do you have comments on this Ask the Expert Q&A? Let us know.
Dig Deeper on LotusScript
Related Q&A from Brian Mahoney
Find out what types of calculations can be computed for a column in a Lotus Notes view and the best way to go about it with this expert response. Continue Reading
Find out why you can't use Formula language to include a doclink to a specific Lotus Notes view or database and need to use LotusScript instead. Continue Reading
Discover the reasons behind a Notes/Domino admistrator having trouble with disabled options in the "customize this view" section of his Lotus Notes ... Continue Reading