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
RakeshchRakeshch 

Upload files to sharepoint/Google Drive from Salesforce and access them in salesforce

We are running out of file storage in our Salesforce Org. Other than deleting old data or buying more storage we are looking for other options.

Below is one of the option I think of but not sure if it can be achieved:
User uploads files in Salesforce. But it should actually save to SharePoint/Google Drive. User should not know that, file is being saved in SharePoint and Only the Reference to the files should be in Salesforce. 
After save, User can access all these files and when he/she should clicks the file in Salesforce, it should pull the data from SharePoint and display it for him. So this way we will not use memory in Salesforce.

Any other suggestions are greatly appreciated.

Thanks in advance.
NagendraNagendra (Salesforce Developers) 
Hi Rakesh,

May I suggest you please check with below blog post which might help you further with the above requirement. Please let us know if this helps.

Kindly mark this as solved if it's resolved.

Thanks,
Nagendra
Tarun Kaushik 11Tarun Kaushik 11
Hi  Rakesh
Did you get the solution for your requirments.
I have the same requirements but not bale to solve. This is also not possible with file connect
Any suggestions are appreciated?

Tarun
Nathalia CaicedoNathalia Caicedo
Same requirement here, I watched somethig about that, but cannot actually implement it 
FYI : https://www.youtube.com/watch?v=T5IeLn7amLM

 
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)
Boris FrankBoris Frank
I can offer an alternative solution — Skyvia (https://skyvia.com/connect/). With Skyvia, you can copy the data to the database and then use a combination of Skyvia Connect and Salesforce Connect. Skyvia Connect allows you to create an OData endpoint to database, displayed as an external object in Salesforce using Salesforce Connect.