Emailing Files
With the SharePoint Links component, users can send files from SharePoint and Salesforce via email from the currently viewed Salesforce record.
The SharePoint Links component supports sending multiple files as email attachments. Files can be accessed from various locations when adding a file through the File Email feature. These are the locations:
- Linked SharePoint files
- Salesforce Files that are attached to the record but not the SharePoint Links component
- SharePoint Links folders that are attached to the record
- Content Folders set by the administrator
- Files from SharePoint
File Email can be initiated from these two places on the SharePoint Links component:
- New button
- Dropdown options on a linked file.
When sending a file from a linked file's dropdown options, the Files list will be pre-populated with the selected linked file. You can attach a maximum of 10 files per email.
Note: Once an email is sent a task record link will be created on the record the email was sent from. This will only occur for objects in Salesforce that allow for task creation.
Architecture
The (1) SharePoint Links component allows users to select SharePoint files to include as email attachments. Once the user initiates sending an email, the (2) Share Connect exports and saves the (3) names and binary data to Salesforce. The SharePoint Links component then uses Apex to send an email with the Salesforce files attached.