Creating an Agent

Before creating an agent, you must determine what the agent is supposed to accomplish. Essentially, this analysis answers the questions in the Agent Builder design window. The analysis should also include a general description of the agent.

You can create an agent in several ways. If you are in one of the design folders in the Designer's Work pane, you can click the Create Agent SmartIcon. You can also choose Create, Agent or Create, Design, Agent from the menu bar. In addition, you can copy agents from other databases or even the current database, paste them, and then modify the agent to suit your purposes. Figure 11.5 shows a new, untitled agent in the Designer's IDE.

Figure 11.5. The Agent Builder window.


Developers can create shared agents to handle tasks that are common to all users or the database itself. In most cases, end users will create personal agents in their mail file, for example. Developers, on the other hand, usually have one or two personal agents in an application for cleanup and corrections. Unlike views or folders, there is no way to create an agent that is shared and personal on first use. To make the agent shared, simply click the Shared Agent radio button on the Basics tab of the agent's InfoBox. Keep in mind that if the agent is to be run manually by a user, the agent will be limited by the user's ACL restrictions. For example, if an agent creates a new copy of a document, it will not work for a user who has Reader access to the database.


By default, an agent is set as scheduled in the Domino 6 Designer. Make sure you choose the Private radio button before saving a new agent if it is to be a private agent. When an agent is saved as private, only a person with Designer rights can change it from private to shared or shared to private.

Part I. Introduction to Release 6

Whats New in Release 6?

The Release 6 Object Store

The Integrated Development Environment

Part II. Foundations of Application Design

Forms Design

Advanced Form Design

Designing Views

Using Shared Resources in Domino Applications

Using the Page Designer

Creating Outlines

Adding Framesets to Domino Applications

Automating Your Application with Agents

Part III. Programming Domino Applications

Using the Formula Language

Real-World Examples Using the Formula Language

Writing LotusScript for Domino Applications

Real-World LotusScript Examples

Writing JavaScript for Domino Applications

Real-World JavaScript Examples

Writing Java for Domino Applications

Real-World Java Examples

Enhancing Domino Applications for the Web

Part IV. Advanced Design Topics

Accessing Data with XML

Accessing Data with DECS and DCRs

Security and Domino Applications

Creating Workflow Applications

Analyzing Domino Applications

Part V. Appendices

Appendix A. HTML Reference

Appendix B. Domino URL Reference

Lotus Notes and Domino 6 Development
Lotus Notes and Domino 6 Development (2nd Edition)
ISBN: 0672325020
EAN: 2147483647
Year: 2005
Pages: 288 © 2008-2020.
If you may any questions please contact us: