IsPrivate (NotesView - JavaScript™)
Read-only. Indicates whether a view is private or shared on first use.
Defined in
NotesViewSyntax
isPrivate() : boolean
Legal value | Description |
---|---|
true |
if the view is private |
false |
if the view is shared |
Examples
This computed field displays whether a view associated with the page is private.return "This view is " + (view2.isPrivate() ? "private" : "shared")