Target (NotesAgent - JavaScript™)
Read-only. Indicates on which documents this agent acts.
Defined in
NotesAgentSyntax
getTarget() : int
Legal value
0 TARGET_NONE
Each incoming mail document, Newly received mail documents, or Pasted documents1 TARGET_ALL_DOCS
All documents in database2 TARGET_NEW_DOCS
Not used3 TARGET_NEW_OR_MODIFIED_DOCS
All new & modified documents4 TARGET_SELECTED_DOCS
All selected documents5 TARGET_ALL_DOCS_IN_VIEW
All documents in view6 TARGET_UNREAD_DOCS_IN_VIEW
All unread documents in view8 TARGET_RUN_ONCE
NoneNote: Note This constant is new with Release 5.01.