Parent (NotesDocumentCollection - JavaScriptâ„¢)
Read-only. The database that contains a document collection.
Defined in
NotesDocumentCollectionSyntax
getParent() : NotesDatabaseUsage
This method throws an exception if the parent database is not accessible.Examples
A button processing a document collection assigns the NotesDocumentCollection object to a global variable. This computed field queries the global variable and displays the title of the parent database.var dc:NotesDocumentCollection = sessionScope.dc;
if (dc != null) {
return dc.getParent().getTitle();
}
Language cross-reference
Parent property in LotusScript® NotesDocumentCollection classParent property in Java DocumentCollection class