remove (NotesView - JavaScriptâ„¢)

Permanently removes a view from a database.

Defined in

NotesView

Syntax

remove() : void

Usage

The removed view may still appear in the user interface until the user refreshes the view list.

A subsequent call to a method of the view, or a method of a navigator based on the view, causes an exception.

Examples

This button removes a view from the current database.
var v:NotesView = database.getView("dates");
if (v != null) {
	requestScope.status = "Removing view " + v.getName();
	v.remove();	
}

Language cross-reference

Remove method in LotusScript® NotesView class

remove method in Java View class