Renames a document or attachment from source folder to destination folder.
The RenameAttachmentOrDocument stored procedure requires SourceFileURL and NewFileName parameters to rename an attachment or document.
EXEC RenameAttachmentOrDocument SourceFileURL = '/Shared Documents/Dummy.txt', NewFileName = 'Dummy1.txt'
|SourceFileURL||String|| URL of the source file, relative to the base Url supplied in the adapter's connection properties.|
Root Directory file: /Shared Documents/filename.txt
Sub-directory file:/Shared Documents/MyFolder/filename.txt
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.
|NewFileName||String||New name of the file with extension.|
Result Set Columns
|Result||String||Value indicating whether the operation was successful.|