PROGRAMMING DOMINO FOR WEB APPLICATIONS


Examples: Web agents
1. This agent is named "Change Status to Closed" and sets the Status field to the value "Closed" in all documents that meet the selection criteria. The target is "All documents in database."
2. A "Computed for display" field named HeadText initially has the following value:
3. This is a LotusScript version of "Change Status to Closed." It runs on "All documents in database" and uses UnprocessedDocuments to get the documents to be processed. The Print statement replaces the "Agent done" page with its text.
4. This is a LotusScript version of "Change Status to Closed" that opens the "Main View" page in a browser when the agent terminates.
5. This is a Java version of "Change Status to Closed."
6. This agent parses Query_String to extract one argument, which must be "Open" or "Closed." It must be run with an OpenAgent URL command, for example,
See Also