Salesforce & Google Drive

Salesforce’s APEX Connect namespace has classes that allow integrating with external file repositories including Microsoft Sharepoint and Google Drive.

Here’s sample code that uses the latest Connect API ContentHub class methods to interface with Google Drive. The Connect API ContentHub class does not support folder creation; we use the Google Drive v2 REST API to create folders for each Salesforce Account. All files are stored on Google Drive under a “salesforce/{account}” folder.

Leave a Reply

Your email address will not be published. Required fields are marked *

Copyright © 2022-2023 Zydeco Digital LLC