UploadDocument
Uploads a document into the SharePoint library.
Input
Name | Type | Accepts Input Streams | Description |
RelativeUrl | String | False | The URL of the folder you would like to upload file(s) to, relative to the base Url supplied in the driver's connection properties. For example: Root folder: Shared Documents Sub-folder: Shared Documents/MyFolder If you set the Url connection property to a site collection, the relative URL will correspond with a path on the base site. If the Url connection property points to a specific site, the relative URL will be relative to the site supplied in the Url. |
InputFilePath | String | False | The location of the file to be uploaded. |
FileName | String | False | The name of the File to be created. |
Overwrite | String | False | A Boolean value to overwrite the existing file data. |
Content | String | True | The content as InputStream to be uploaded when InputFilePath is not specified. |
Result Set Columns
Name | Type | Description |
Success | Boolean | Indicates whether the operation was successful or not. |
Id | String | Unique identifier Value Returned after completing the operation. |