sign (NotesDatabase - JavaScript™)
Signs elements in a database with the signature of the current user.
Defined in
NotesDatabaseSyntax
sign() : void
sign(documenttype:int) : void
sign(documenttype:int, existingsigsonly:boolean) : void
sign(documenttype:int, existingsigsonly:boolean, namestr:string) : void
sign(documenttype:int, existingsigsonly:boolean, namestr:string, namestrisnoteid: boolean) : void
Parameter | Description |
---|---|
documenttype |
One of the following.
|
existingsigsonly |
|
namestr |
Programmatic name or note ID of a single design element. |
namestrisnoteid |
|
Usage
This method signs all design elements of the specified type if you specify parameter 1 and do not specify parameter 3.If you specify parameter 3, this method signs one design element. You can also specify parameter 1 to positively define the design element. If more than one design element has the same name and parameter 1 is not specified, this method signs the first design element with the specified name.
This method executes only on a client.
Examples
This button signs all the forms in the current database.database.sign(NotesDatabase.DBSIGN_DOC_FORM)