MoveAttachmentOrDocument
Moves a document or attachment from a source folder to a destination folder.
Input
Name | Type | Required | Description |
List | String | True | The name of the list from which you want to move the document or attachment. |
SourceFileURL | String | True | The URL of the source file, relative to the base RSBSharePoint_p_URL supplied in the cmdlet's connection properties. For example: Root Directory file: /Shared Documents/filename.txt Sub-directory file:/Shared Documents/MyFolder/filename.txt If you set the RSBSharePoint_p_URL connection property to a site collection, the relative URL corresponds with a path on the base site. If the RSBSharePoint_p_URL connection property points to a specific site, the relative URL will be relative to the site supplied in the RSBSharePoint_p_URL. |
DestinationFolderURL | String | True | The URL of the destination folder where you want to move the file, relative to the base RSBSharePoint_p_URL supplied in the cmdlet's connection properties. For example: Root Directory: /Shared Documents/ Sub-directory:/Shared Documents/MyFolder/ If you set the RSBSharePoint_p_URL connection property to a site collection, the relative URL corresponds to a path on the base site. If the RSBSharePoint_p_URL connection property points to a specific site, the relative URL is relative to the site supplied in the RSBSharePoint_p_URL. |
Result Set Columns
Name | Type | Description |
Success | Boolean | Indicates whether the operation was successful or not. |