getURLDatabase (NotesSession - JavaScript)

Finds and opens the default Web Navigator database.

Defined in

NotesSession

Syntax

getURLDatabase() : NotesDatabase
Return value Description
NotesDatabase The default Web Navigator database.

Examples

This computed field displays the file name and title of the default Web Navigator database.
var db = session.getURLDatabase();
var fn = db.getFileName();
var title = "";
if (db.isOpen()) {
	title = db.getTitle();
} else {
	title = "Database not open"
}
return fn + " (" + title + ")"