DownloadDocument
Downloads the document or documents in Salesforce.
Input
Name | Type | Description |
Id | String | The Id of the document to download. If Name, Id or Folderid are not specified, all documents will be downloaded. |
Name | String | The name of the document to download. If Name, Id or Folderid are not specified, all documents will be downloaded. |
Folderid | String | The folder id of the documents to download. If Name, Id or Folderid are not specified, all documents 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 |
FileId | String | The id of the file. |
Success | String | The status of the download for a specific file. |
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. |
FailureMessage | String | In multi-file download mode, shows the failure message of any unsuccessful download. |