ParentView (NotesDocument - JavaScriptâ„¢)
Read-only. The view from which a document was retrieved, if any.
Defined in
NotesDocumentSyntax
getParentView() : NotesViewUsage
If the document was retrieved directly from the database or a document collection, this property returns null.Examples
This computed field displays the title of the view containing a document made available through a global variable.var doc:NotesDocument = sessionScope.doc;
if (doc != null) {
return doc.getParentDatabase().getTitle();
}
Language cross-reference
ParentView property in LotusScript® NotesDocument classParentView property in Java Document class