Delete Apex Class from Salesforce using workbench

Many times we wish to deactivate or delete Apex class from Salesforce. While I have always relied on Eclipse for this, I came across this method using workbench. For those, who would rather not download the heavy Eclipse and go all the way to install force.com plugin. Let’s say I have a trigger called ‘UpdateAmount’ […]

Overriding Standard Lead Conversion in Salesforce

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, […]

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 […]

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 […]

Scroll to top