Manage Learn to apply best practices and optimize your operations.

Work With Agents With Pleasure

Here are some guide lines how to create & debug Agents used on WEB in Lotus
Domino 4.6

1. From time to time you need sign your web Agent to allow it run on server
with proper acccess rights. You need to sign agent do every time the code is
changed. The work arround is:
- add USE "LibraryName" in agent options
- add call "AgentName" in Initalize event
- put all agent code into script library

2. If you want to create a database which works well in both WEB and Notes
enviroments NEVER mix NotesUI... classes with Notes... classes. Put code which
uses notesUI... clases in another script library, otherwise unexpected "use or
uselsx error" are poduced wen your code is run from the web

3. If you use CGI varaibles like Remote_User, Query_String, HTTP_USER_AGENT,
etc and you want to debug an agent then create a form with fields named
- Remote_User default value @Name([CN]; @username)
- Query_String default value eg. MyAgent?OpenAgent&param=value
HTTP_USER_AGENT default value eg.
"Mozilla/4.0 (compatible; MSIE 5.0; Windows NT)"

Put a button on the form with simple action which run your Agent and you can
debug it

Dig Deeper on Lotus Notes Domino Agents

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchWindowsServer

Search400

  • iSeries tutorials

    Search400.com's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...

SearchDataCenter

SearchContentManagement

Close