UploadDocument

Upload a document to the SharePoint library.

Input

Name Type Description
File String The path of the file to be added.
FileContent String Base64 encoded content of the file to be added. If specified, the value of 'File' input will be ignored.
Library String The name of the library on the SharePoint server.
Name String The name assigned to the new file.
ReturnID String Boolean value indicating whether to return the ID and other metadata fields of the newly created record. An extra API request is needed to get this value.

The default value is false.

MetadataName# String The name of a metadata field to be set for the document.
MetadataValue# String The value of a metadata field to be set for the document.

Result Set Columns

Name Type Description
Result String Boolean value indicating whether the stored procedure was successful.
ID String The internal ID of the document.
_dlc_DocId String The document ID.
_dlc_DocIdUrl String The URL of the document ID.
Vti_author String The creator of the document.
Vti_etag String The e-tag of the document.
FileRef String The file reference of the document.