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.