CopyDocument
Copies a document from the SharePoint library.
Input
Name | Type | Description |
DocumentName | String | The original document location relative to its library. |
DocumentLibrary | String | The display name of the library in which the original document is stored. |
NewDocumentLibrary | String | The display name of the library in which the copy document will be stored. If left blank, this will be the same as DocumentLibrary. |
NewDocumentName | String | The copy document location relative to its new library. If left blank, this will be the same as DocumentName. |
Result Set Columns
Name | Type | Description |
Success | Boolean | Indicates whether the operation was successful or not. |
Id | String | The Id of the document. |
DocumentId | String | The document Id. |
DocumentIdUrl | String | The URL of the document Id. |
FileRef | String | The file reference of the document. |