JDBC Driver for SugarCRM

Build 22.0.8462

DownloadFile

Downloads a document file from SugarCRM.

Input

Name Type Accepts Output Streams Description
ResourceId String False The ID of the resource containing the file.
Module String False The name of the Module containing the resource. I.e. Documents.

The default value is Documents.

Field String False The field inside the specified module containing the resource. I.e. filename.

The default value is filename.

OutputFolder String False The folder to download the file to.
FileStream String True An instance of an output stream where file data is written to. Only used if OutputFolder is not set.

Result Set Columns

Name Type Description
Status String Stored procedure ecxecution status.
FileName String The name of the file that was downloaded if included in the response.
FileData String File data that will be outputted encoded in Base64 if the OutputFolder and FileStream inputs are not set.

Copyright (c) 2023 CData Software, Inc. - All rights reserved.
Build 22.0.8462