Hi all,I’m trying to get a simple agent to work on the web, it is lotuscript, called from the webquerysave event. It works in the client only if it is in the post save event, otherwise I get an error saying the doc must be saved.
The agent does not get nor reference the current document (or document.context). I was testing it with the following initially, and still getting the error:
Dim s As New NotesSession
Dim db As NotesDatabase
Dim newmaildoc As notesdocument
Set db = s.CurrentDatabase
Set newmaildoc= db.CreateDocument
newmaildoc.form="Memo"
newmaildoc.subject= "test"
newmaildoc.sendto="CHall@xxxx.com"
Call newmaildoc.Send(False)
Any ideas what I’m missing on this.