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