Call agent from web

hi! help please!

how can i change a value of a field of a document via postopen or onload in web (without clicking any buttons). thanks

how cn i go about it. thanks

paul

Subject: call agent from web

Use the WebQueryOpen event.

Subject: RE: call agent from web

i created an agent that updates a field value of the document being opened.

I called the agent in the postopen event, when i open a document in notes client and the agent was able to update a field.

however, i called the agent from the webqueryopen, and opened a document via web, the browser display " page cannot be displayed"…

please help! what am i doing wrong. ty

Subject: RE: call agent from web

The agent will be slightly different if being called in WebQueryOpen, specifically in getting a handle to the document.

Make sure the agent is getting the document by session.DocumentContext, and not something like workspace.CurrentDocument.Document