IsAllowOpenSoftDeleted (NotesDatabase - JavaScript™)
Read-write. Indicates whether documents that are soft deleted can be opened.
Defined in
NotesDatabaseSyntax
isAllowOpenSoftDeleted() : boolean
setAllowOpenSoftDeleted(flag:boolean) : void
Legal value | Description |
---|---|
true |
if soft deleted documents can be opened |
false |
if soft deleted documents cannot be opened |
Usage
The database must be open to use this property.Examples
This button toggles whether soft deleted documents can be opened.if (database.isAllowOpenSoftDeleted()) {
database.setAllowOpenSoftDeleted(false);
} else {
database.setAllowOpenSoftDeleted(true);
}
requestScope.status = "Soft deleted documents can be opened: " + database.isAllowOpenSoftDeleted();