Excel Add-In for Microsoft Office 365

Build 25.0.9434

UploadFile

Uploads a new file or replaces the content of an existing file in OneDrive or SharePoint.

Input

Name Type Required Description
FileName String False Name of the file to upload content to. Provide this only if uploading to an existing file.
ParentId String True Identifier of the folder where the uploaded file should be placed.
Content String False Raw content to upload as the file's contents.
LocalFile String False Path to the local file whose content is uploaded.

Result Set Columns

Name Type Description
Id String Identifier of the file that was uploaded.
* String Complete set of output fields returned after the file upload operation, including metadata.

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