APPLICATION DESIGN
Before you begin, plan your agent carefully. For example, decide what type of agent you want (simple action, formula, LotusScript, imported Java, or Java), what it will act upon, where it will run, how it will be invoked, whether it will perform restricted or unrestricted operations, and under whose ID it should run (run on behalf of).
1. In the Applications Navigator, double-click Agents under Code. Click New Agent. Alternatively you can choose Create - Design - Agent.
2. In the New Agent dialog box, enter a name for the agent and optionally the name of the application.
4. Optionally, enter a comment in the Comment field. The comment appears when you view the list of agents.
5. Click Shared if this agent will be used by other users. A shared agent is one that other users have access to. Note that ownership of a shared agent can be reassigned to another user who saves or re-signs the agent.
Beginning with Lotus Domino Designer 6, you have the option of converting a private agent to a shared agent or a shared agent to a private agent.
To get the full benefit of this feature, the database should reside on a server and the agent must be invoked via the client.
If you check this box and the agent references front end classes, the user receives a run-time error.
10. Close the Agent Properties box after you have filled in the necessary fields.
11. From the Run list in the Programmer's pane, choose one of the following to define the agentfs automated components:
For additional information on using the Enable, Disable, and Sign buttons, see Useful agent procedures.
For additional information on agent security, see Security for agents on servers and the Web.
For troubleshooting information, see Troubleshooting agents.
Example See Also