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
durga prasad 45durga prasad 45 

upload files in google drive

hi every one 
         can any body try how to store file in google drive using visual force page. we cant use third party apps.
 
Pankaj GangpariaPankaj Gangparia
Hi Durga,

First we need to integrate salesforce with google drive, then you can upload files from vf page to google drive.
Please see below link how to integrate with google drive
https://theforcetimes.wordpress.com/2012/12/15/integration-of-google-drive-into-force-com/

http://forceguru.blogspot.ae/2014/05/google-drive-authentication-in.html

Thanks
 
durga prasad 45durga prasad 45
its ok but i am getting authentication problem.

We can’t log you in because of the following error. For more information, contact your Salesforce administrator.

No_Oauth_State: State was not sent back
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)