A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

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.

16 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
0answers
73 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, ...
2
votes
0answers
515 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 ...
2
votes
0answers
65 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
1
vote
0answers
49 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 ...
1
vote
1answer
261 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, ...
1
vote
1answer
164 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 ...
0
votes
1answer
32 views

How to get the value of a blob as a string in Apex?

I'm building a Google Drive integration to push files over. I have it working--with one significant problem. When I query VersionData from ContentVersion it return a blob. When I pass my blob in the ...
0
votes
0answers
30 views

Bad Content Type while uploading any file on Google Drive

I am trying to upload any file to google drive using API from salesforce with the help of LWC (lightning web component). I am using multipart upload. But it's giving me error - 13:02:57:607 ...
0
votes
0answers
30 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 ...
0
votes
0answers
31 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? ...
0
votes
0answers
347 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 ...
0
votes
0answers
833 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 ...
0
votes
0answers
572 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 ...
0
votes
1answer
240 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 ...
0
votes
1answer
97 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 ...
0
votes
0answers
132 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 ...