Have you had the trouble of trying to debug a querysave agent or a queryopen agent for a Web page?
I happend to find out how to do it in the notes client.
To run an agent when a document is shown on the Web you put
"@Command([ToolsRunMacro]; "<Your agent goes here>")"
in the WebQueryOpen event on the form.
If you need to debug this agent using the Notes client put the same code
"@Command([ToolsRunMacro]; "<Your agent goes here>")"
in the QueryOpen event.
If you are using the documentContext property of the NotesSession this will also work now when you open the document in the Notes client.
The same works for a WebQuerySave event. Put the same code in the QuerySave event and try the form in the Notes client with the debugger on.
Halleluia!!!!
It really works.
/Peter
Requires Free Membership to View
Register today to access targeted resources from our editorial writers and independent industry experts focused on Lotus Domino, Notes, Workplace and other related technologies.
This was first published in November 2000