DownloadAttachment
Downloads the attachment or attachments associated with a specific entity in FinancialForce.
Input
Name | Type | Description |
ObjectId | String | The Id of the object to download attachments for. |
Id | String | The Id of the attachment to download. If neither Name nor Id are specified, all attachments will be downloaded. |
Name | String | The name of the attachment to download. If neither Name nor Id are specified, all attachments will be downloaded. |
LocalPath | String | The local path to save the files to. If no path is specified, the file is kept in memory in the FileData output. |
Encoding | String | The encoding of the data that will be output to FileData.
The allowed values are NONE, BASE64. The default value is BASE64. |
Result Set Columns
Name | Type | Description |
FileName | String | The name of the downloaded file. |
FullPath | String | The full path (including name) of the downloaded file. |
FileData | String | The file data output, if the LocalPath input is empty. |