Title (NotesDatabase - JavaScript)

Read-Write. The title of a database.

Defined in

NotesDatabase

Syntax

getTitle() : string

setTitle(title:string) : void

Usage

A program cannot change the title of the database in which the program is currently running.

The database does not need to be open to use this property.

Examples

This button changes the title of a local database.
var db:NotesDatabase = session.getDatabase("", requestScope. filename, false);
if (db != null) {
	db.setTitle(requestScope.title);
	requestScope.status = "Title of " + db.getFileName() + " set to " + db.getTitle();
} else {
	requestScope.status = "Could not open " + requestScope.filename;
}