FileName (NotesDatabase - JavaScript)

Read-only. The file name of a database, excluding the path.

Defined in

NotesDatabase

Syntax

getFileName() : string

Usage

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

Examples

This computed field displays the title and file name of the current database.
return database.getTitle() + " (" + database.getFileName() + ")"