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 DestinationDocumentLibraryId
→ String
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 DestinationFolderId
→ String
AURAENABLED
INVOCABLEVARIABLE
The SharePoint Id of the destination folder to copy the item into.
global DocumentLibraryOverrideId
→ String
AURAENABLED
OTHER
(Optional) Override the Document Library Id in the SharePoint Object Setting.
global NewItemName
→ String
AURAENABLED
OTHER
(Optional) The new name of the copied item. By default, the name of the original item is used..
global ObjectSettingsLabel
→ String
AURAENABLED
INVOCABLEVARIABLE
The label of the SharePoint Object Setting Custom Metadata used to complete the action’.
global SharePointId
→ String
AURAENABLED
INVOCABLEVARIABLE
The SharePoint Id of the item to copy.
global SiteOverrideId
→ String
AURAENABLED
OTHER
(Optional) Override the Site Id set in the SharePoint Object Setting.