ParentView (NotesViewNavigator - JavaScript)

Read-only. The view containing a navigator.

Defined in

NotesViewNavigator

Syntax

getParentView() : NotesView

Examples

This button determines whether a document is in a view.
var nav:NotesViewNavigator = database.getView("By category and date").createViewNav();
var doc:NotesDocument = currentDocument.getDocument();
if (nav.gotoEntry(doc)) {
	requestScope.status = "Current document is in this view: " + 
		nav.getParentView().getName();
} else{
	requestScope.status = "Current document is not in this view: " + 
		nav.getParentView().getName();
}