SSIS Components for Microsoft SharePoint

Build 24.0.9175

UploadDocument

SharePoint ライブラリにドキュメントをアップロードします。

Stored Procedure Specific Information

The UploadDocument Stored Procedure requires the display name of the document library, the path of the document to be uploaded and the Name of the file to be created in the Microsoft SharePoint library.

For Example:

        EXECUTE UploadDocument Library = 'Documents', File = 'C:\\Users\\cdata\\Downloads\\sharepoint.txt', Name = 'cdata.txt';
    

Uploading Large Files with Chunk Upload

To upload large files, you can activate the chunk upload logic by setting the ChunkSize input to a positive value lower than 250, which is the maximum upload size limit for Microsoft SharePoint.

  • Suggested Chunk Size: SharePoint recommends a chunk size of 10MB.
  • Usage Limits: Uploading large files with small chunks may exceed usage limits, causing Microsoft SharePoint to throttle further requests from that client temporarily. For requests made directly in the browser, Microsoft SharePoint will redirect you to a throttling information page, and the requests will fail.
Availability: The chunk upload feature is available only for SharePoint 2016/2019 Server and SharePoint Online editions.

Input

Name Type Required Description
File String False 追加されるファイルのパス。
FileContent String False 追加されるファイルのBase64 エンコードされたコンテンツ。指定された場合は、「File」の入力値は無視されます。
Library String True ファイルをアップロードするディレクトリのURL で、本製品 の接続プロパティで指定されたベースRSBSharePoint_p_URL からの相対値。

例:
Root directory: Documents

サイトコレクションにRSBSharePoint_p_URL 接続プロパティを設定すると、相対URL はベースサイト上のパスに対応します。
RSBSharePoint_p_URL 接続プロパティが特定のサイトを指している場合、相対URL はRSBSharePoint_p_URL で指定されたサイトからの相対URL となります。
Name String False 新しいファイルに割り当てる名前。

サイトのルートディレクトリにアップロードする場合は、ファイル名のみを指定します。
ルートディレクトリ内のあるレベルにネストされたフォルダにアップロードする場合、完全な親サブディレクトリを先頭に付けます

例:
Root Directory filename.txt
Sub-directoryMyFolder/filename.txt
ChunkSize Int False MultiPart Upload で使用するチャンクのMB 単位のサイズ。

Result Set Columns

Name Type Description
Success Boolean 操作が成功したかどうかを示します。
Id String ドキュメントの内部Id。
DocumentId String ドキュメントId。
DocumentIdUrl String ドキュメントId のURL。
FileRef String ドキュメントのファイル参照。

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