Sample code for Domino agents

This section provides sample Domino agent code. The code examples are only meant to give you an idea as to how Domino Agents works.You will need to modify the agent code to suit your application business logic.

To create the Domino Agent, you need to have Designer access. Agent can be created in Notes Client by selecting Create | Agent. Specify the name of the agent and in the Runtime Section select “Agent list selection” and Target as “None”. This is important for UA to execute the Agent.

The Agent needs to return Data in the “domino_output” field in the following format:

<Record>   <Field label="Index" position="1">Value1</Field>   <Field label="Index" position="1">Value2</Field>   <Field label="Index" position="1">Value3</Field>   … </Record>