Generally all classes are supported excep the UI Classes Or Front end Classes.  
 
to get ahold of the current Document you need only yo set it IE  
Dim s As New NotesSession 
Dim db As NotesDatabase 
Dim doc As NotesDocument 
 
Set db = s.CurrentDatabase 
Set doc = s.DocumentContext 
 
One More thing: you can not use the debugger cause you will not be able to get ahold ofthe "Web Document" 
to help you debug your code you  
can input MsgBox statments then after you test the agent on the Web you can go back and look at your Notes 
Log and see where it is breaking. 
There are other ways of doing this but this is the fastest to set up. 
 
I hope this helps, 
 
Kevin  
Kevin@bydomino.com 
 
All back-end classes are supported as far as I can tell. I can think of no reason any back-end class would not 
work. You can find the classes chart at http://www.lotus.com/products/lotusscript.nsf. 
 
The redbook on developing Domino apps, 
(ftp://ftp.lotus.com/pub/lotusweb/product/devtools/redbook/12974pdf.EXE) which is a free download, has a 
brief but nonetheless helpful example of Lotusscript agents used though Domino.  
 
You can get a handle on the document from the QUERYSAVE agent. 
 
You get a handle on it by using the DocumentContext Property of the Session class... 
 
Dim session As New NotesSession 
Dim doc As NotesDocument 
Set doc = session.DocumentContext 
 
At this point you can make any modifications to the "doc" that you want.... 
 
Hope this helps....  
wayneb@ussinc.com 
 
  
previous page
 
  |