IsResponse (NotesDocument - JavaScript)

Read-only. Indicates whether a document is a response to another document.

Defined in

NotesDocument

Syntax

isResponse() : boolean
Legal value Description
true if the document is a response to another document
false if the document is not a response to another document

Examples

This computed field displays the response status of the current document.
var doc:NotesDocument = currentDocument.getDocument();
return doc.isResponse() ?
"Response to " + database.getDocumentByUNID(doc.getParentDocumentUNID()).getItemValueString("subject") : 
"Main document";