IsAutoUpdate (NotesView - JavaScript)

Read-write. Indicates whether a view is automatically refreshed when a navigation method touches an update (addition, deletion, or change) to the database that occurred after view creation or the last refresh.

Defined in

NotesView

Syntax

isAutoUpdate() : boolean

setAutoUpdate(flag:boolean) : void

Legal value Description
true if the view is automatically updated
false (default) if the view is not automatically updated

Usage

It is best to avoid automatically updating the view especially if the view is a base for navigators or entry collections. Automatic updates degrade performance and may invalidate entries in child objects (Entry not found in index).

If this property is false, you must call refresh to navigate to an update.

Even if this property is true, you must call refresh if you are not navigating to an update and you want the view refreshed, for example, to get the top level entry count.