Apex Trigger Best Practices

Apex Trigger Best Practices

Apex Triggers are very powerful and are easily one of the most important parts of Salesforce because they significantly impact all database operations (inserts, updates, deletes, etc. ) With this incredible power and flexibility there’s a lot of room for problems. In my career as a Salesforce developer, I’ve looked at hundreds of different apex triggers and realized there are a lot of points of failure with apex triggers. This post is a very high level list of best practices and why they are important for apex triggers.

Dealing With Duplicate Data in Salesforce

Dealing With Duplicate Data in Salesforce

Overtime, it’s easy for a Salesforce org to accumulate duplicate Leads, Contacts, Accounts and of course Opportunities. Duplicate data usually means that there’s some bad practices in your sales process or that staff aren’t checking to see if a contact or lead already exists. Companies rarely spend a lot of their time focusing on the data and how clean it is within their systems, but data can be a huge asset when making business decisions. Bad or duplicate data can result in a lot of time wasted by sales staff.…

Using Basic Email Templates From Salesforce Apex

Using Basic Email templates from Salesforce Apex Code

Sending Emails from Salesforce is pretty easily implemented using Salesforce and the Email Templates. I strongly recommend using Email Templates over visualforce emails and hardcoding text emails within the source code because making changes can be really time consuming otherwise. Of course, there are times when it makes sense to use visualforce emails or hardcoding text emails but these exceptions should not be the norm.…

Useful Google Chrome Extensions for Salesforce Developers & Admins

Useful Google Chrome Extensions for Salesforce Developers & Admins

Chrome extensions help Salesforce Developers and Salesforce Admins work a lot more efficiently in Salesforce. If you’re using Google Chrome and Using Salesforce, you really need to check out some of these Chrome Extensions. All of the extensions I’ve listed below are available for free and don’t require any special apps from the AppExchange. …