FlowAction_CreateFolder
This method mimics the sFiles API method, “createFolder”. 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.
Methods
global static List<FlowActionPayload> createFolder(List<createFolderInput> folderItems)
INVOCABLEMETHOD
Classes
createFolderInput
Fields
global DocumentLibraryOverrideId
→ String
AURAENABLED
OTHER
(Optional) Override the Document Library Id in the SharePoint Object Setting.
global NewFolderName
→ String
AURAENABLED
INVOCABLEVARIABLE
Name of the newly created folder. NOTE: This must follow SharePoint Naming Standards.
global ObjectSettingsLabel
→ String
AURAENABLED
INVOCABLEVARIABLE
The label of the SharePoint Object Setting Custom Metadata used to complete the action.
global ParentFolderId
→ String
AURAENABLED
INVOCABLEVARIABLE
The SharePoint Id of the folder where you want to create the new folder.
global SiteOverrideId
→ String
AURAENABLED
OTHER
(Optional) Override the Site Id set in the SharePoint Object Setting.