IsProhibitDesignRefresh (NotesView - JavaScript)

Read-write. Indicates whether a design refresh or replace can overwrite a view.

Defined in

NotesView

Syntax

isProhibitDesignRefresh() : boolean

setProhibitDesignRefresh(flag:boolean) : void

Return value Description
true to indicate that the view cannot be refreshed
false (default) to indicate that the view can be refreshed

Examples

This button toggles whether a view associated with the page can be refreshed.
if (view2.isProhibitDesignRefresh()) {
	view2.setProhibitDesignRefresh(false);
	requestScope.status = "View can be refreshed";
} else {
	view2.setProhibitDesignRefresh(true);
	requestScope.status = "View cannot be refreshed";
}