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.

See getDownloadLinkInput

Methods

global static List<FlowActionPayload_String> getDownloadLink(List<getDownloadLinkInput> items)

INVOCABLEMETHOD

Classes

getDownloadLinkInput

Fields

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 INVOCABLEVARIABLE

The SharePoint Id of the file to get the download link for.

global SiteOverrideIdString

AURAENABLED OTHER

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