Name (NotesEmbeddedObject - JavaScript)

Read-only. The name used to reference an object, object link, or file attachment.

Defined in

NotesEmbeddedObject

Syntax

getName() : string

Usage

If an object or object link does not have a name, this property returns an empty string.

If an object or object link was created using embedObject in RichTextItem, this property returns the name parameter specification. If the name parameter was not specified, this property is the same as the Source property.

If the embedded object or object link was created using the user interface, this property returns the name of the object as it appears in the user interface.

For file attachments, this property returns the name of the file unless the attachment is a duplicate. If the attachment is a duplicate, this property returns an internal name. (The Source property returns the file name in all cases.)