Q
Problem solve Get help with specific problems with your technologies, process and projects.

Can LotusScript copy an agent from one database to another?

Is there any way to copy an agent from one database to another using LotusScript? Is there any other means of doing this?
What a loaded question this is! It all depends on what you want to do and how often. Your code could be as simple as this:
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.

This was last published in March 2004

Dig Deeper on LotusScript

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchWindowsServer

Search400

  • iSeries tutorials

    Search400.com's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...

SearchDataCenter

SearchContentManagement

Close