JDBC Driver for Microsoft SharePoint

Build 23.0.8839

RenameAttachmentOrDocument

Renames a document or attachment.

The RenameAttachmentOrDocument stored procedure requires the List, SourceFileURL and NewFileName parameters to rename an attachment or document.

For Example:

EXEC RenameAttachmentOrDocument List = 'Test134', SourceFileURL = '/Shared Documents/Dummy.txt', NewFileName = 'Dummy1.txt'

Input

Name Type Description
List String Name of the list containing the document or attachment you would like to rename.
SourceFileURL String URL of the file you want to rename, relative to the base Url supplied in the 本製品's connection properties.

For example:
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 corresponds with a path to the base site.
If the Url connection property points to a specific site, the relative URL is relative to the site supplied in the Url.
NewFileName String New name of the file, with extension.

Result Set Columns

Name Type Description
Success Boolean Indicates whether the operation was successful or not.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 23.0.8839