Specify the version number associated with the Salesforce service that you want to connect to. Alternatively, click the Suggestion icon to fetch the list of versions and select the desired version.
Default Value: 52.0 Example: 52.0
Specify the type of file you want to download. Alternatively, click the Suggestion icon to fetch the list of associated files.
The available options are:
Attachment: Downloads the file as an attachment.
Content Version: Downloads the version of the content.
Document: Downloads the file as a document.
Default Value: Attachment Example: Document
Specify the ID of the Salesforce object that you want to download.
Default Value: N/A Example: $id
Select one of the three modes in which the Snap executes. Available options are:
Validate & Execute: Performs limited execution of the Snap, and generates a data preview during Pipeline validation. Subsequently, performs full execution of the Snap (unlimited records) during Pipeline runtime.
Execute only: Performs full execution of the Snap during Pipeline execution without generating preview data.
Disabled: Disables the Snap and all Snaps that are downstream from it.
Default Value: Validate & Execute Example: Execute only
404 Error: The requested resource could not be found.
The external ID field does not exist or is not accessible.
The input data should be valid. Check if your input data is valid.
Downloading a Document from Salesforce and Converting into Binary Format
We can download documents attached to Salesforce objects and convert them into binary format. This example demonstrates how we can use the Salesforce Download Snap to accomplish this task.
First, we configure the Salesforce Download Snap to download the attachment bearing the Attachment ID00P2i000002JKFcEAO.
Upon validation, we see the following output in the Snap’s preview.
Next, we configure the Document to Binary Snap to convert the content value in the input document (attachment) to binary data at the output view.
Upon validation, we see the binary data in the Snap’s preview.