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 integrate AWS S3 bucket with CloudFiles
How to make existing Salesforce records work with CloudFiles
Copy Salesforce files to SharePoint
Apex
FAQs
Support
Docs powered by Archbee
Apex
...
Types
Input & Output Types

Types.UpdateResourceInput

Represents input for updating resource(file/folder) properties using Update Resources function. Following contuctors are available -

Apex
UpdateResourceInput(
  Resource resourceToUpdate,
  Map<String, String> payload
)

  1. resourceToUpdate - File or folder, to be updated. Represented by a Resource object
  2. payload - Map of property name and property value. For example, to update name, use following -
Apex
Map<String, String> updates = new Map<String, String>();
updates.put('name', 'New Name');





Updated 20 Nov 2023
PREVIOUS
Types.CreateLinkInput
NEXT
Types.MoveResourceInput
Docs powered by Archbee
Docs powered by Archbee