IsProtectReaders (NotesView - JavaScript™)
Read-Write. Protects $Readers
items from
being overwritten by replication.
Defined in
NotesViewSyntax
isProtectReaders() : boolean
setProtectReaders(flag:boolean) : void
Legal value | Description |
---|---|
true |
if $Readers items are protected |
false |
if $Readers items are not protected |
Examples
This button toggles whether a view associated with the page protects$Readers
items.if (view2.isProtectReaders()) {
view2.setProtectReaders(false);
requestScope.status = "View does not protect $Readers";
} else {
view2.setProtectReaders(true);
requestScope.status = "View protects $Readers";
}