JDBC Driver for Microsoft SharePoint

Build 24.0.9060

AddAttachment

Add an Attachment to a SharePoint List item.

Input

Name Type Accepts Input Streams Description
File String False The path of the local file to be added.
List String False The name of the List on the SharePoint server.
ItemID String False The Id of the item on the List to add attachments for.
Content String True The content as InputStream to be uploaded when File is not specified.
FileName String False Name of the file to be uploaded. This will be used if content is not null. For example: test.csv

Result Set Columns

Name Type Description
Success Boolean Indicates whether the operation was successful or not.
URL String The URL of the newly created item.

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