FlowAction_GetDownloadLink
This method mimics the sFiles API method, “getDownloadLink”. 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_String> getDownloadLink(List<getDownloadLinkInput> items)
INVOCABLEMETHOD
Classes
getDownloadLinkInput
Fields
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
INVOCABLEVARIABLE
The SharePoint Id of the file to get the download link for.
global SiteOverrideId
→ String
AURAENABLED
OTHER
(Optional) Override the Site Id set in the SharePoint Object Setting.