FlowAction_Copy

This method mimics the sFiles API method, copyItem. It assumes that the named credential to use is to be found in the “SharePoint Object Settings” Custom Metadata type (of the objectSettingsLabel if one is specified) or the “SharePoint Settings” Custom Metadata type. The Site Id and Document Library Id are assumed to come from the SharePoint Object Settings or SharePoint Settings, but can be overriden by the siteId and documentLibraryId parameters.

See copyInput

Methods

global static List<FlowActionPayload_Boolean> copyItem(List<copyInput> copyItems)

INVOCABLEMETHOD

Classes

copyInput

Fields

global DestinationDocumentLibraryIdString

AURAENABLED OTHER

(Optional) The Id of the document library to copy the item to (If the item is being copied to a different document library).

global DestinationFolderIdString

AURAENABLED INVOCABLEVARIABLE

The SharePoint Id of the destination folder to copy the item into.

global DocumentLibraryOverrideIdString

AURAENABLED OTHER

(Optional) Override the Document Library Id in the SharePoint Object Setting.

global NewItemNameString

AURAENABLED OTHER

(Optional) The new name of the copied item. By default, the name of the original item is used..

global ObjectSettingsLabelString

AURAENABLED INVOCABLEVARIABLE

The label of the SharePoint Object Setting Custom Metadata used to complete the action’.

global SharePointIdString

AURAENABLED INVOCABLEVARIABLE

The SharePoint Id of the item to copy.

global SiteOverrideIdString

AURAENABLED OTHER

(Optional) Override the Site Id set in the SharePoint Object Setting.