FlowAction_GetFolderContents
This method mimics the sFiles API method, “getFolderContents”. 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_GetFolderContents> getFolderContents(List<getFolderContentsInput> items)
INVOCABLEMETHOD
Classes
getFolderContentsInput
Fields
global DocumentLibraryOverrideId
→ String
AURAENABLED
OTHER
(Optional) Override the Document Library Id in the SharePoint Object Setting.
global NextPageLink
→ String
AURAENABLED
OTHER
(Only use for subsequent calls) If a folder has more than 200 items, the flow action will provide a link to access the following 200 items. Use this value for all subsequent calls to this flow action.
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 folder to retrieve the contents of.
global SiteOverrideId
→ String
AURAENABLED
OTHER
(Optional) Override the Site Id set in the SharePoint Object Setting.