Parent (NotesView - JavaScript)

Read-only. The database to which a view belongs.

Defined in

NotesView

Syntax

getParent() : NotesDatabase

Examples

This computed field displays the name of a view associated with the page and the file name of its parent database.
return view2.getName() + " (" + view2.getParent().getFileName() + ")"