getParentDatabase (NotesXspDocument - JavaScript™)
Gets the parent database of the document.
Syntax
getParentDatabase() : NotesDatabase (JavaScript)
Return value | Description |
---|---|
NotesDatabase |
The parent database. |
Examples
This computed field displays the title of the parent database of the document associated with the current context.return document1.getParentDatabase().getTitle()