-
Is Salesforce Apex Dead?
Flow, and Salesforce Flow Triggers feel like they are getting more and more powerful with each release. So is Salesforce Apex really dead?
-
How to Process Thousands Of Records on Salesforce
On Salesforce, if you want to process thousands of records the only way to truly achieve it is through asynchronous apex. In this blog post, we cover the various ways of doing Asynchronous Apex.
-
Enforcing Object Level and Field Level Permissions in Apex
This past year, Salesforce has finally released some security enhancements that can make our lives easier as developers. There’s two enhancements that can really improve our code and reduce the use of the Schema.sObjectType methods.
-
5 Strategies to get Around SOQL Query Limits
In Apex, there’s quite a few constraints that are strictly enforced because the platform is a shared multitenant environment. Quite a few of the limits result in runtime exceptions that can’t be handled. For those familiar with Salesforce, it’s no secret that there’s a lot of limits. For example, there’s limits around the ViewState which […]
-
How to Choose An Apex Trigger Framework
If you have been programming on the Salesforce/Force.com platform for any amount of time I’m sure you have come into contact with Apex Triggers. If not, Apex Triggers are units of code that execute whenever a database operation occurs. I’ve put together a post about Before and After Triggers that you should read if you […]
-
Salesforce Order of Execution
As Salesforce Developers and Salesforce Administrators, we need to understand how the system will process and validate the data that we are inserting or manipulating. As any system does, the rules follow a general pattern that’s known as the Salesforce Order of Execution.
-
Best Practices for Exception Handling in Salesforce Apex
What’s an Exception An exception is an unexpected event that occurs when code is executing. Basically apex is signalling there is a problem and that it can’t deal with the issue.
-
How to Automatically Convert Leads in Apex
In the blog post “What’s the difference between a Lead and Opportunity?” I spent a bit of time covering how leads are converted into accounts, contacts, and opportunities. Basically, a lead is converted when the sales person thinks that there’s actually an opportunity to sell them something. In a lot of cases, it might make […]
-
5 Incredible Resources For Learning to Program Salesforce
Salesforce is an incredibly large and customizable platform with hundreds of different features. Learning to use Salesforce can be difficult, but learning to program and manage Salesforce is even more daunting. Below I’ve provided you with the best resources I could find on programming Salesforce. Before jumping into learning to program apex, I recommend you […]
-
Visualforce Custom Controllers and Extensions
When we create Visualforce pages in Salesforce we have a few different ways that we can architect the code that will do any business logic that we need.