JDBC Driver for Certinia

Build 23.0.8839

UploadContentDocument

Uploads a content document in Salesforce.

Input

Name Type Accepts Input Streams Description
FullPath# String False The full path to the file to upload. If Base64Data is not specified, this input is required. Either specify this or FullPath/FolderPath for a single object and not both.
Base64Data# String False A string of data that will be used as the full contents of the file. This must be base-64 encoded. Required if FullPath is not specified.
FileExtension# String False Type of content. Required if Base64Data is specified.
Title# String False The title you would like to give the content document. If none is specified, the file name specified in the FullPath will be used. Required if Base64Data is specified.
FolderPath# String False Used to batch upload every file inside a specified folder. Either specify this or FullPath for a single object and not both.
Description# String False Text description of the ContentDocument. Limit: 255 characters.
Content String True The file content as an InputStream. Only used if FullPath is empty.
ContentDocumentTempTable String False Used to batch upload multiple ContentDocument objects. Set this to a temporary table, whose rows contain upload inputs like in the example below.

Result Set Columns

Name Type Description
Id String The Id of the uploaded content version.
ContentDocumentId String The Id of the content document.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 23.0.8839