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.

See createFolderInput

Methods

global static List<FlowActionPayload> createFolder(List<createFolderInput> folderItems)

INVOCABLEMETHOD

Classes

createFolderInput

Fields

global DocumentLibraryOverrideIdString

AURAENABLED OTHER

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

global NewFolderNameString

AURAENABLED INVOCABLEVARIABLE

Name of the newly created folder. NOTE: This must follow SharePoint Naming Standards.

global ObjectSettingsLabelString

AURAENABLED INVOCABLEVARIABLE

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

global ParentFolderIdString

AURAENABLED INVOCABLEVARIABLE

The SharePoint Id of the folder where you want to create the new folder.

global SiteOverrideIdString

AURAENABLED OTHER

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