FORMULA LANGUAGE


EditInsertFileAttachment @Command
Example

Attaches a file to a document.

Syntax

@Command( [EditInsertFileAttachment] )

or

@Command( [EditInsertFileAttachment] ; file ; compress ; append ; deleteexisting ; deletefile )

Parameters

file


compress
append
Note This parameter is new with Release 8.5.1.

deleteexisting


Note This parameter is new with Release 8.5.1.

deletefile


Note This parameter is new with Release 8.5.1.

Without a file parameter, displays the Create Attachment dialog box. If a file is specified, attaches that file to the document without opening the Create Attachment dialog box.

Usage

A document must be open in Edit mode with the insertion point in a rich text field.

This command does not work on the Web.

If using this command in a hotspot button or any other element that causes a change in focus, the EditGoToField or EditTop command must be used first to return the focus to the document. The document must be in Edit mode.

Language cross-reference

EmbedObject method of LotusScript NotesRichTextItem class

embedObject method of Java RichTextItem class

Example
See Also