Sometimes, the lead conversion in Salesforce does not match with our process flow. In that case it is necessary to override Standard Lead Conversion with our customized functionality. Lead conversion in Apex can be handled using ConvertLead() method. How to override standard button in Salesforce 1. Go to Object Manager -> Select Lead ->Buttons, Links, […]
Month: July 2019
Get Geo location from Google API in Salesforce
To get Geo-location from google API in Salesforce, I did a small integration with Google Geocode API. To call Google API, we need the API key. Follow the steps in this article to get the key. Steps to get the latitude and longitude from Google Geolocation Create an Apex trigger with below code. The trigger […]
Steps to get Google API Key
To get Google API key, log in to https://console.developers.google.com.1. Create a new Project 2. Go to Library, search for relevant API like Maps or Google Drive. 3. Choose the library and click on Enable. 4. Go to Credentials tab and click on ‘Create Credentials’ 5. Choose OAuth Client ID and Click on Configure Consent Screen […]
Files Upload in Salesforce to Google Drive
One of the most common recommendations that I give to clients is to not use File Upload in Salesforce in the traditional way. What I mean by that is, cloud storage in Salesforce is quite expensive and as such I recommend all my clients to rather store the file on their web server/Google Drive and […]