IsHonorShowInOpenDatabaseDialog (NotesACL - JavaScript™)
Read-Write. Indicates whether the application design property Show
in 'Open Application' dialog
is honored for a database directory.
Defined in
NotesACLSyntax
isHonorShowInOpenDatabaseDialog()
: boolean
setHonorShowInOpenDatabaseDialog(flag:boolean) : void
Legal value | Description |
---|---|
true |
indicates that Show in 'Open Application'
dialog is honored |
false |
indicates that Show in 'Open Application'
dialog is not honored |
Examples
This button toggles honoringShow
in 'Open Application' dialog
.var dbdir:NotesDbDirectory = session.getDbDirectory("Sales/Acme");
var name:string = dbdir.getName();
if (dbdir.isHonorShowInOpenDatabaseDialog()) {
dbdir.setHonorShowInOpenDatabaseDialog(false);
requestScope.status = "Open database dialog not honored for " + name
} else {
dbdir.setHonorShowInOpenDatabaseDialog(true);
requestScope.status = "Open database dialog honored for " + name
}