IsDesignLockingEnabled (NotesDatabase - JavaScript)

Read-write. Indicates whether design locking is enabled for a database.

Defined in

NotesDatabase

Syntax

isDesignLockingEnabled() : boolean

setDesignLockingEnabled(flag:boolean) : void

Legal value Description
true if design locking is enabled
false if design locking is not enabled

Usage

The design elements that can be locked are agents, forms, and views.

The database must be open to use this property.

Examples

This button toggles design locking for the current database.
database.setDesignLockingEnabled(!database.isDesignLockingEnabled());
requestScope.status = "Design locking = " + database.isDesignLockingEnabled();