MoveAttachmentOrDocument
Moves a document or attachment from a source folder to a destination folder.
Execute
The paths specified in SourceFileURL and DestinationFolderURL must be relative to what you have used in RSBSharePoint_p_URL. Refer to the query example below:
/* URL = https://mysite.sharepoint.com/sites/Subsite */ EXEC MoveAttachmentOrDocument SourceFileURL = '/Shared Documents/Source Folder/Subfolder/Original Document.txt', DestinationFolderURL = '/Destination Library/Destination Folder/';
Input
Name | Type | Required | Description |
SourceFileURL | String | True | The path of the source file, relative to the base RSBSharePoint_p_URL supplied in the 本製品's connection properties. |
DestinationFolderURL | String | True | The path of the destination folder where you want to move the file, relative to the base RSBSharePoint_p_URL supplied in the 本製品's connection properties. |
Result Set Columns
Name | Type | Description |
Success | Boolean | Indicates whether the operation was successful or not. |