CData Python Connector for Certinia

Build 25.0.9440

UploadDocument

Uploads a document to Salesforce, making it available in the document repository.

Note:このプロシージャは、インデックス付きパラメータを使用します。 インデックス付きパラメータは、プロシージャの入力として単一のパラメータを複数のインスタンスに提供することを容易にします。

Param# という名前の入力パラメータがあるとします。このようなインデックス付きパラメータの複数のインスタンスを入力するには、次のように実行します。

EXEC ProcedureName Param#1 = "value1", Param#2 = "value2", Param#3 = "value3"

以下の表では、インデックス付きの入力パラメータは、名前の末尾に '#' 文字が付きます。

Input

Name Type Description
FullPath# String The full local path to the document to upload. Required if Base64Data is not provided. Only one of FullPath or FolderPath should be specified per upload operation.
Base64Data# String Base64-encoded string representing the contents of the document. Required if FullPath is not provided. Enables uploading without relying on a local file path.
Name# String The name to assign to the document in Salesforce. If not specified, the file name from FullPath is used. Required when uploading via Base64Data.
FolderId# String The ID of the folder where the document will be stored. This field is required for all uploads.
FolderPath# String Path to a local folder containing documents to be uploaded in batch. Only one of FolderPath or FullPath should be specified for a single operation.
Description# String Optional description of the document. Limited to a maximum of 255 characters.
DocumentTempTable String Temporary table used for uploading multiple Document records in batch. Each row should include inputs such as FullPath, Base64Data, or Name.

Result Set Columns

Name Type Description
Id String The ID of the document that was successfully uploaded to Salesforce.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9440