LOTUSSCRIPT/COM/OLE CLASSES


SavedData property
Example

Read-only. A document that an agent script uses to store information in between invocations. The script can use the information in this document the next time the script runs.

Defined in

NotesSession

Data type

NotesDocument

Syntax

To get:Set notesDocument = notesSession.SavedData

Usage

This property is valid only for agent scripts. In any other script, SavedData returns Nothing.

The SavedData document is created when you save an agent, and it is stored in the same database as the agent. The document replicates, but is not displayed in views.

Each time you edit and re-save an agent, its SavedData document is deleted and a new, blank one is created. When you delete an agent, its SavedData document is deleted.

Language cross-reference

SavedData property in Java AgentContext class

Example