Create Attachments
Attachments are a way to connect files & folders to a Salesforce record. When a file/folder is attached to the record, it's visible in the CloudFiles widget places on the record page. This method can be used to create attachments
Apex
|
Parameters
- attachmentInputs- List of Types.CreateAttachmentInput
- library- Type of library. Example - sharepoint. You can get this value from Content Library
- 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
List of Attachment objects