Target (NotesAgent - JavaScript™)
Read-only. Indicates on which documents this agent acts.
Defined in
NotesAgentSyntax
getTarget() : int Legal value
0 TARGET_NONEEach incoming mail document, Newly received mail documents, or Pasted documents1 TARGET_ALL_DOCSAll documents in database2 TARGET_NEW_DOCSNot used3 TARGET_NEW_OR_MODIFIED_DOCSAll new & modified documents4 TARGET_SELECTED_DOCSAll selected documents5 TARGET_ALL_DOCS_IN_VIEWAll documents in view6 TARGET_UNREAD_DOCS_IN_VIEWAll unread documents in view8 TARGET_RUN_ONCENoneNote: Note This constant is new with Release 5.01.