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.
Methods
global static List<FlowActionPayload> createURLFile(List<createUrlFileInput> urlFileItems)
INVOCABLEMETHOD
Classes
createUrlFileInput
Fields
global CustomUrl
→ String
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 DestinationFolderId
→ String
AURAENABLED
INVOCABLEVARIABLE
The SharePoint Id of the folder where you want to create the new folder.
global DocumentLibraryOverrideId
→ String
AURAENABLED
OTHER
(Optional) Override the Document Library Id in the SharePoint Object Setting.
global ObjectSettingsLabel
→ String
AURAENABLED
INVOCABLEVARIABLE
The label of the SharePoint Object Setting Custom Metadata used to complete the action.
global SharePointId
→ String
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 SiteOverrideId
→ String
AURAENABLED
OTHER
(Optional) Override the Site Id set in the SharePoint Object Setting.
global UrlFileName
→ String
AURAENABLED
OTHER
(Optional) Name of the newly created URL file. NOTE: This is required for custom urls.