JDBC Driver for Microsoft SharePoint

Build 25.0.9434

AddImage

Uploads an image to a SharePoint list item. Essential for embedding visual content in SharePoint records.

Input

Name Type Required Accepts Input Streams Description
ListName String True False The display name of the SharePoint list where the image will be added. Helps identify the target list.
ItemId String True False The unique identifier of the list item to which the image will be attached. Ensures the image is linked to the correct item.
ColumnInternalName String True False The internal name of the column where the image will be stored. Useful for identifying the correct field in the list schema.
FileName String True False The name of the image file being uploaded. Helps track and manage attached images.
InputFilePath String False False The full file path of the image to be uploaded. Required unless providing the image content directly.
Content String False True The image file content as an InputStream, used when InputFilePath is not specified. Provides an alternative method for image uploads.

Result Set Columns

Name Type Description
Success Boolean Indicates whether the image upload operation was successful. Returns 'true' for success and 'false' for failure.
ErrorCode Integer If the procedure fails, this field displays the corresponding error code. Useful for debugging and troubleshooting.
ErrorMessage String If the procedure fails, this field provides a detailed error message explaining the failure. Helps diagnose upload issues.

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