Reputation: 21
I want to create and upload a document (txt) to google Drive with the help of Salesforce.com APEX code and Google Drive APIs. Do anybody has idea? thanks
Upvotes: 2
Views: 2606
Reputation: 2987
Yes, you can.
Since Google Drive SDK is basically HTTP request and there is HttpRequest Class in Apex, you can use Google Drive SDK with Apex. However, there is no official support for Apex in Google Drive, and you should build your own library for it. Here is documentation about Drive API having some detail of requests and responses you will have with Drive SDK.
Upvotes: 1