website logo
Go To WebsiteAppexchange
Home
Salesforce
HubSpot
Web App
API Reference
Navigate through spaces
⌘K
Table Of Contents
Quick Starts
Features
Widgets
Flow Actions
Flow Templates
Platform Events
Tutorials
How to make existing Salesforce records work with CloudFiles
Copy Salesforce files to SharePoint
Apex
FAQs
Support
Docs powered by archbee 

Update Resources

Update resources(file/folders). This function can be used to update resource properties like name, description etc.

Apex
|
global static void updateResources(
    List<Types.UpdateResourceInput> inputs,
    String library,
    String runAs
)


Parameters

  1. inputs - List of Types.UpdateResourceInput objects
  2. library- Type of library. Example - sharepoint. You can get this value from Content Library
  3. runAs - Email Id of the user on whom behalf the function should run. If you want to run the action as automation user, supply integrationUser

Return Type

This functions doesn't return anything







Updated 23 May 2023
PREVIOUS
Get Folder Contents
NEXT
Move Resources
Docs powered by archbee 
TABLE OF CONTENTS
Parameters
Return Type