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
Apex
...
Types
Input & Output Types

Types.CreateAttachmentInput

Represents input for creating attachments using Create Attachments function. Following contuctors are supported -

Apex
|
CreateAttachmentInput(
  String resourceId,
  String resourceType,
  String parentId,
  String driveId
)

  1. resourceId - Id of the file/folder in external storage, for which we're creating the attachment
  2. resourceType - One of file or folder
  3. parentId - Salesforce Id of the record for which we're creating the attachment
  4. driveId - Only applicable for SharePoint or Google Drive libraries. Supply null for other libraries. You can get this value from Content Library



Updated 15 Aug 2023
PREVIOUS
Types.CreateFolderInput
NEXT
Types.CreateLinkInput
Docs powered by
Archbee
Docs powered by
Archbee