Skip to main content

Questions tagged [google-drive]

Google Drive is a free way to keep your files backed up and easy to reach from any phone, tablet, or computer. Start with 15GB of Google storage.

Filter by
Sorted by
Tagged with
0 votes
0 answers
42 views

Error when pulling contentversion data to create file in google drive using python

I am getting an error when trying to create a file in google drive using the salesforce contentversion data url for (index, row), (index2, row2) in zip(df2.iterrows(),df3.iterrows()): acid = ...
Pauline's user avatar
  • 375
0 votes
0 answers
70 views

Unable to verify force.com ownership for Google app verification despite trying various methods

I have been trying to verify ownership of force.com domain of Salesforce for Google app verification using different methods, including uploading an HTML file, adding a meta tag, using Google ...
Nayeem Uddin's user avatar
-1 votes
1 answer
1k views

Move files from one folder to another using Google Drive API and Apex [closed]

I’m making a callout using named credentials and trying to update the parent Id of the G-Drive file. While doing the callout, getting the below error. "error": { "errors": [ {...
am_Aravi's user avatar
  • 392
0 votes
1 answer
415 views

Files Connect - External data Source Google Drive 401 Error: invalid_client The OAuth client was not found

Following the SFDC help instructions on setting up Files Connect for Google Drive Created the Project in the Google Developers Console as per doc Created the Authentication Provider in Salesforce ...
cropredy's user avatar
  • 71.9k
0 votes
0 answers
429 views

Upload a pdf document to Google docs using APEX

Trying to load pdf document to Google Docs, by using the Google API . so the issue I am facing that the pdf file was uploaded on docs but when we download it and open it shows an error:-Failed to load ...
Abhishek Singh's user avatar
1 vote
0 answers
915 views

Upload file to google drive from Lightning component - Page redirect removing URL

I am trying to achieve functionality to upload a file from Salesforce to Google drive. I have done following 1. Google project credentials (Client key , secrete key) 2. Enabled Google drive API 3. ...
Amit's user avatar
  • 29
2 votes
1 answer
366 views

Push notifications from Google drive to Salesforce

I am trying to set up Salesforce to receive Push notifications from Google drive whenever a file has been added by a user. I am following the steps documented here: https://developers.google.com/drive/...
Anisa's user avatar
  • 185
0 votes
0 answers
213 views

Can I export attachments using Command Line Dataloader and use ANT to get it to FTP site/Google drive

Background: I want to run an after update opportunity trigger that would fetch all the opportunity records as well as attachments and then transfer it to a third party-website. In order to do that, I ...
Student's user avatar
  • 565
0 votes
0 answers
104 views

Send Opportunity records and related files to Google drive

I want to run a trigger that runs on after insert and after update on opportunity fetch the opportunities data and related files and send it to Google drive. Is it possible to do it via apex code? ...
Student's user avatar
  • 565
1 vote
0 answers
213 views

Google Drive resumable upload using Salesforce lightning

I have been trying to upload a large file (maybe greater than 25MB) from Salesforce lightning to Google drive, referencing - https://developers.google.com/drive/api/v3/manage-uploads#resumable ...
vaibhav shetti's user avatar
2 votes
0 answers
456 views

Way to bypass CSP limitations

We store images of our customers in Google Drive. Way we merge data is by Rest API calls. Also, we provide our managers with custom lightning component with embeded links to the images. Unfortunately, ...
Super Bob's user avatar
0 votes
0 answers
1k views

Apex Multipart HttpRequest - With JSON and BLOB

I am trying to consume a Google Drive API to create a file in an ApexController. I was successful in creating a file in the root folder without specifying a name using the code below http h = new ...
John's user avatar
  • 21
0 votes
0 answers
2k views

Why I am getting " Attempt to use invalid header in request"

I am trying to upload a file by using REST API in salesforce but getting the above error. public static PageReference upload(String at,Blob b,String f,String ft){ String ...
Krishnan Mishra's user avatar
1 vote
1 answer
2k views

How to use 'q' parameter for google drive api

I want to pass q parameter in setEndPoint url to get list of all files in the root folder(at the home page). I tried it using the google API(https://developers.google.com/drive/api/v3/reference/files/...
Krishnan Mishra's user avatar
0 votes
0 answers
2k views

Why I am getting null value in access token?

I am integrating Google Drive API with salesforce. I have created 2 classes here, one is the controller class for the page and another one is helper class. As soon as my page gets loaded I can see ...
Krishnan Mishra's user avatar
2 votes
1 answer
600 views

How to show google drive images in VF Pdf file

I need to show google drive bulk images in VF PDF file. currently am getting broken image. that image url saved in salesforce and remote site settings. how can i get that real image in vf pdf file.
Sfdcprgmr's user avatar
  • 437
2 votes
1 answer
1k views

Resumable upload in Google Drive Rest API V3 from Salesforce apex / REST Client

I am trying to create a resumable upload session using drive rest API in Salesforce Apex. As per the documentation the 3 steps needed to be followed are Start a resumable session Save the resumable ...
Tapan Kumar Badajena's user avatar
2 votes
1 answer
578 views

How can i use Files Connect to upload an attachment with apex, to Google Drive?

I'm new to this salesforce world and i recently discovered i can synchronize my salesforce instance with a Google Drive. I already have a connection established using Files Connect to my Google Drive, ...
user37586's user avatar
  • 660
0 votes
1 answer
419 views

How to store images in google drive through salesforce

Actually my requirement is want to store bulk of images for these we can use document/notes and attachments due to storage constraint i want to use google drive to store the images from visualforce ...
ncmouli's user avatar
  • 310
0 votes
1 answer
121 views

List has no rows for assignment to SObject When trying to integrate with Google Drive

I created a VF page to display all the files link of a google drive folder. I am storing the folder ID in a custom object. I added this page as a inline VF page on Opportunity object. Whenever I am ...
Learner's user avatar
  • 169
3 votes
2 answers
363 views

Backup Salesforce data to a third party

I have a requirement to backup salesforce data to any third party on daily basis and it should be dynamically.I do't want to use any backup service provider. To achieve this I integrated salesforce ...
RaviKant's user avatar
  • 508
0 votes
0 answers
288 views

Save records from Salesforce to Google drive in .csv format

I have a scenario where I have to save my records for five objects namely contact , account , lead , campaign and campaign members as a backup on google drive in a .csv format for each object ...
Jitesh Goel's user avatar
2 votes
0 answers
100 views

can we update the content of file on google drive

https://developers.google.com/drive/v2/reference/files/update#try-it I am able to change everything except content of file
Yogesh Gupta's user avatar
1 vote
1 answer
4k views

Integration with google drive in apex [closed]

how to integrate google drive from vfPage. like when we upload any file like image/text/pdf/doc/excel etc. save into google drive.and retrieve from google drive its show there hyperlink , when click ...
Vipin Indora's user avatar
2 votes
2 answers
3k views

How can i write data in Google Spreadsheet using APEX

I need to write Apex code to connect with Google Drive and create a Spreadsheet and write data into it. I am done with google Drive Authentication but now i am not getting how to create Spreadsheet ...
Pramod Kumar's user avatar
  • 5,300
1 vote
1 answer
438 views

How to write Salesforce data using Apex into Google Spreadshee

I need to write data into Google Spreadsheet using Apex but i am not getting pointers. Can any one help me out on below points - 1) How to authenticate Google Account from Apex code? 2) How to ...
Pramod Kumar's user avatar
  • 5,300
1 vote
1 answer
4k views

Download files from google drive using REST API

Currently I'm working on Google Drive integration with Salesforce. I was able to connect to Google Drive and retrieve a list of file information. now I need to download some files from Google Drive. ...
Wishwa Sigera's user avatar
3 votes
1 answer
2k views

Help with Setup of Files Connect for Google Drive

After going to a session at Dreamforce where they demo'd Files Connect for Google Apps, I'm now trying to setup Files Connect in our sandbox so I can try it out myself. I've followed the instructions ...
rodneyaz's user avatar
  • 374
0 votes
1 answer
98 views

Using Google Apps in Summer 15

I have had Google Apps configured and working in a Spring 15 org, however once deployed to a Summer 15 org the integration is no longer working. Specifically, the process to add a Google document to a ...
Peter Langston's user avatar
1 vote
1 answer
669 views

Make uploading a file required for creation of users and contacts

I am using salesforce to create portal for a school. I am using students and parents as contacts and staff as users. When I am creating students I need to make it manadatory to collect certain ...
user899893's user avatar
2 votes
1 answer
5k views

How to create a file inside a folder in google drive?

I am able to create a file in Google drive from salesforce with the below code: Http http = new Http(); HttpRequest req = new HttpRequest(); req.setMethod('POST'); req.setEndpoint('https://www....
Srilakshmi B S's user avatar
1 vote
3 answers
3k views

Download files from Google drive

https://developers.google.com/drive/web/manage-downloads In the above link it is given that we have to make a GET request to the downloadUrl (which we get in the response when we upload the file) in ...
Srilakshmi B S's user avatar
1 vote
2 answers
4k views

Upload file on google drive

I Used below code after accessing client id and secret key but i am not able to upload file on google drive. Apex code public class GoogleDriveController{ //Fetched from URL private String ...
Ravikant Kedia's user avatar