Upload your Salesforce data into Google Drive in a Single Click
Benefits : Get your data in sync between Google drive and Salesforce. It supports all file types including Google Docs, and all objects including Standard and custom objects. We can fetch object records/Wrapper data in google documents.
How it works :
This task has been categorized into two part
1. Authentication of Google Drive(Step 1 to 7)
2. Create a file and upload on Google Drive (Step 8 to 10)
#Google Drive Authentication
- Create an Google Account
- Login to Google Account(Hope you are already logged in), Go to Google Developer Console
- From the project drop-down, select an existing project , or create a new one by selecting Create a new project.
5. In the sidebar under "API Manager", select Credentials, then select the OAuth consent screen tab.
* Choose an Email Address, specify a Product Name, and press Save.
6. In the Credentials tab, select the New credentials drop-down list, and choose OAuth client ID - >Web Application
Fill this Information
a. Name - Salesforce(You can change)
b. Authorized redirect URIs - https://drive.google.com/drive/my-drive (You can change).
7. Now we have client Id and Client secret, This keys will be used in Salesforce apex code
# Creating File and upload on Google Drive
8. Create an apex class in salesforce having Name - GoogleDriveIntegrationController
you have to put your own key and secret key in this apex class
9. Create an apex Page in Salesforce - GoogleDriveIntegration
10. Load page from salesforce, Click on download button, You will be redirect on Google Drive , there will be a file you just created now.
8. Create an apex class in salesforce having Name - GoogleDriveIntegrationController
you have to put your own key and secret key in this apex class
9. Create an apex Page in Salesforce - GoogleDriveIntegration
10. Load page from salesforce, Click on download button, You will be redirect on Google Drive , there will be a file you just created now.
Wow, Awesome blog... It helped me alot. Thank you so much sir
ReplyDeleteHi. Can I display a google doc in the right side of Salesforce Console and be able to edit it?
ReplyDeleteHow to Upload Attachment from salesforce to Google drive from related list.
ReplyDeleteHi ,
ReplyDeleteEverything is looking fine but the "code" parameter is missing that we are getting from apex page .
how we are going to get the code parameter ? As per current code it will always be null.
Hi Yogesh,
ReplyDeleteI tried but i am getting this error when clicking on commandbutton "This app isn't verified" can you please help?
what i need to do to remove this?
MMORPG
ReplyDeleteINSTAGRAM TAKİPÇİ SATİN AL
tiktok jeton hilesi
Tiktok jeton hilesi
antalya saç ekim
referans kimliği nedir
instagram takipçi satın al
Instagram Takipçi Satin Al
Mt2 pvp serverlar
perde modelleri
ReplyDeletesms onay
mobil ödeme bozdurma
nft nasıl alınır
ankara evden eve nakliyat
trafik sigortası
dedektor
site kurmak
aşk kitapları
Smm Panel
ReplyDeleteSMM PANEL
İş ilanları blog
İnstagram Takipçi Satın Al
HIRDAVAT
beyazesyateknikservisi.com.tr
servis
TİKTOK JETON HİLE
maltepe mitsubishi klima servisi
ReplyDeletetuzla mitsubishi klima servisi
çekmeköy vestel klima servisi
ataşehir vestel klima servisi
çekmeköy bosch klima servisi
ataşehir bosch klima servisi
ataşehir arçelik klima servisi
kadıköy mitsubishi klima servisi
kartal vestel klima servisi