Target (NotesAgent - JavaScript)

Read-only. Indicates on which documents this agent acts.

Defined in

NotesAgent

Syntax

getTarget() : int

Legal value

  • 0 TARGET_NONE Each incoming mail document, Newly received mail documents, or Pasted documents
  • 1 TARGET_ALL_DOCS All documents in database
  • 2 TARGET_NEW_DOCS Not used
  • 3 TARGET_NEW_OR_MODIFIED_DOCS All new & modified documents
  • 4 TARGET_SELECTED_DOCS All selected documents
  • 5 TARGET_ALL_DOCS_IN_VIEW All documents in view
  • 6 TARGET_UNREAD_DOCS_IN_VIEW All unread documents in view
  • 8 TARGET_RUN_ONCE None
    Note: Note This constant is new with Release 5.01.