Skip to main content
Skip table of contents

loadAttachment

Downloads the file data of the specified Attachment record and stores it into the variable context as a new File value.

The load command does the same as this command in addition to handling other kinds of file-containing records. Please consider using it instead.

Attributes

var

Required

Value type

EL-evaluated

Yes

String

No

Defines the name of a variable that will hold the File value.

attachmentId

Required

Value type

EL-evaluated

Yes

String

Yes

Defines the record whose file data is downloaded. The resolved String should be the ID of an Attachment record.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.