TDV Adapter for Microsoft SharePoint

Build 23.0.8839

CopyDocument

Copies a document from the SharePoint library.

Note: This procedure makes use of indexed parameters. Indexed parameters facilitate providing multiple instances a single parameter as inputs for the procedure.

Suppose there is an input parameter named Param#. To input multiple instances of an indexed parameter like this, execute:

EXEC ProcedureName Param#1 = "value1", Param#2 = "value2", Param#3 = "value3"

In the table below, indexed parameters are denoted with a '#' character at the end of their names.

Input

Name Type Description
DocumentName String The name of the document in the document library to be copied.
DocumentLibrary String The name of the document library the document is currently stored on.
NewDocumentLibrary String The name of the document library the document is being copied to.
NewDocumentName String The new name of the document once it has been copied. If left blank, this will be the same as the 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.

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