IsResponse (NotesDocument - JavaScript)

読み取り専用。文書が別の文書に対する返答かどうかを示します。

定義場所

NotesDocument

構文

isResponse() : boolean
適正値 説明
true この文書が別の文書に対する返答である場合
false この文書が別の文書に対する返答でない場合

以下の計算結果フィールドには、現在の文書の返答ステータスが表示されます。
var doc:NotesDocument = currentDocument.getDocument();
return doc.isResponse() ?
"Response to " + database.getDocumentByUNID(doc.getParentDocumentUNID()).getItemValueString("subject") : 
"Main document";

言語間の参照

LotusScript® NotesDocument クラスの IsResponse プロパティ

Java™ Document クラスの IsResponse プロパティ