Creating Web Agents Using Formulas and LotusScript
Creating a formula or LotusScript agent for use on the Web requires that the agent be called from the WebQueryOpen or WebQuerySave events of a form, or that it be accessed via the URL, such as www.domserver.com/agentdb.nsf/agentname/?openAgent .
This is because the agent must be run on the server: A Web client does not know what to do with the formulas and the LotusScript in the agent.
What kinds of things can you do from an agent run from one of these events? Following are some examples:
- Populate the value of a field just before the document is displayed
- Display information to a user after the document has been saved
- Navigate the user back to a starting page, form, or view stored in a cookie
- Collect information from a user through the use of CGI variables and store them for statistical analysis