FORMULA LANGUAGE


EditInsertFileAttachment @Command
Example

Attaches a file to a document.

Syntax

@Command( [EditInsertFileAttachment] )

or

@Command( [EditInsertFileAttachment] ; file ; compress )

Parameters

file


compress
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.

Language cross-reference

EmbedObject method of LotusScript NotesRichTextItem class

embedObject method of Java RichTextItem class

Example
See Also