FlowAction_CreateUrlFile

This method mimics the sFiles API method, “createURLFile”. 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 createUrlFileInput

Methods

global static List<FlowActionPayload> createURLFile(List<createUrlFileInput> urlFileItems)

INVOCABLEMETHOD

Classes

createUrlFileInput

Fields

global CustomUrlString

AURAENABLED OTHER

(Optional) The custom url to create a URL file for. NOTE: To create a URL file for a custom url, you must also specify a “Url File Name”.

global DestinationFolderIdString

AURAENABLED INVOCABLEVARIABLE

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

global DocumentLibraryOverrideIdString

AURAENABLED OTHER

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

global ObjectSettingsLabelString

AURAENABLED INVOCABLEVARIABLE

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

global SharePointIdString

AURAENABLED OTHER

(Optional) The SharePoint Id of the file or folder to create a URL file for. If not specified, the flow action will assume that the you are creating a URL file for a custom url.

global SiteOverrideIdString

AURAENABLED OTHER

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

global UrlFileNameString

AURAENABLED OTHER

(Optional) Name of the newly created URL file. NOTE: This is required for custom urls.