ViewInheritedName (NotesView - JavaScript)

Read-only. The name of the view whose design a view inherits.

Defined in

NotesView

Syntax

getViewInheritedName() : string

Usage

If a view is a copy of another view, this property is the name of the base view. Otherwise, this property is an empty string.

If the design is customized after the view is copied, this property is an empty string.

Examples

This button lists the names of all views in the current database plus any inheritance information.
var views = database.getViews().iterator();
while (views.hasNext()) {
	var v:NotesView = views.next();
	var vin:string = v.getViewInheritedName();
	requestScope.status = requestScope.status + "\n" + v.getName() +
		(vin.isEmpty() ? "" : " (inherited from " + vin + ")");
}