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

Can I delete a doc in one DB from an action in another DB?

Is there a way to delete a document stored in a different database by initiating an action through another database?
You can use NotesAgent.Run or NotesAgent.RunOnServer to execute an agent in another database. There's no way to execute an action -- like a view action button -- remotely.

But you can just as easily do this in LotusScript (or Java) with an agent or action in the current database, using the NotesDocument.Remove method. This is generally simpler.

Do you have comments on this Ask the Expert Q&A? Let us know.

Dig Deeper on Lotus Notes Domino Agents

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.




  • 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 ...