function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Vincenzo BenfanteVincenzo Benfante 

Upload file in google drive

Hi, my question is:
"is possible upload file, pdf or word, from my web application made in Salesforce(using Apex and Visualforce) to my drive in Google?"
I have downloaded the integration toolkit for Google, i can create file (spreadsheet or document) but i am not be able to upload file.
Anyone know how do this???

Thanks!

venchinn2venchinn2

Hi Vincenzo Benfante,

  I have tried ur code but i didnt get the output what am i do. please let me know how to get this.

Vincenzo BenfanteVincenzo Benfante
Hi venchinn2,

in my post i do not attach code.
I think that you refer at the reply of Deepak K
Anand
.

Regards
venchinn2venchinn2

Hi Vincenzo Benfante,

If u have the code to upload a doc will you mail me ?

venchinn2venchinn2

Hi Deepak,

  I have tried ur code but i didnt get the output what am i do. please let me know how to get this.

Neha AggrawalNeha Aggrawal
Hi,

If you are still looking for a solution, I have done uploading of files to Google Drive through a visualforce page. User clicks a button to open the visualforce page and it asks for credentials for the first time. File can be uploaded on visualforce page which is saved to google drive and link of the file is saved to a field on the record page.
Please see the link: https://initaura.com/file-upload/

Thanks,
Neha Aggrawal
www.initaura.com - Everything Salesforce (https://www.initaura.com)