IsModified (NotesView - JavaScript™)
Read-only. Indicates whether a view is modified.
Defined in
NotesViewSyntax
isModified() : boolean
Legal value | Description |
---|---|
true |
if the view is modified |
false |
if the view is not modified |
Usage
This property can be used to determine if the current view snapshot on the Notes® client corresponds to the real state of the view on the server. The view on the server can change as a result of multiple users accessing it and this property can be used to determine if the view needs refreshing.Tis property always returns true for programs accessing views remotely, and false for programs accessing views via agents or stand-alone applications.
Examples
This computed field displays whether a view associated with the page is modified.return "This view has " + (view2.isModified() ? "" : "not ") + "been modified"