Salesforce Development Tutorial: How to Implement a Trigger Framework
|

Salesforce Development Tutorial: How to Implement a Trigger Framework

Why use a Trigger Framework? There are a couple big reasons why you would want to implement a trigger handler. Let’s check them out below: 1) It makes your triggers way easier to test. By putting your logic in your trigger handler, instead of your trigger you allow yourself a much simpler path to testing…

Salesforce Development Tutorial: How to use the SFDX Scanner Salesforce CLI Plugin for Static Code Analysis
| | |

Salesforce Development Tutorial: How to use the SFDX Scanner Salesforce CLI Plugin for Static Code Analysis

Why Use Static Code Analysis Tools? There are two major reasons to use static code analysis tools: 1) They make you a better developer. These industry standard rules exist for a reason. To make code clean, modular and easy for all the developers that come after you to deal with. So be a kewl guy…

Salesforce Development Tutorial: How to Setup Uncrustify to automatically format your code in Visual Studio Code
| | |

Salesforce Development Tutorial: How to Setup Uncrustify to automatically format your code in Visual Studio Code

Why would you want to setup Auto Code Formatting? Aside from the fact that it’s both magical and amazing, it also enables you to easily do a couple things: 1) If you get onboarded to a project with a horrific looking codebase with nightmarish formatting, you can fix that by running a single command on…

Salesforce Development: How to use Custom Settings to Bypass Your Triggers in Production
| | | |

Salesforce Development: How to use Custom Settings to Bypass Your Triggers in Production

Why On Earth Would We Ever Build Trigger Bypasses? This is an excellent question and one I wondered myself… until my team and I had to do a monstrous 50,000,000 record load into Salesforce for a deployment, lol. I was stumped… how on earth could I ever pull this off without taking days or weeks…

Salesforce Development: How to Make Sure Your Process Builders Never Fire Your Apex Triggers
| | |

Salesforce Development: How to Make Sure Your Process Builders Never Fire Your Apex Triggers

Why Would We Want Our Process Builders to Bypass Our Triggers? If you didn’t know process builders fire your triggers every single time they make an update to a record or insert a new record. If you have 5 different update actions in your process builders that means you could potentially fire your triggers 5…

Salesforce Development: How to Setup Illuminated Cloud 2 with the IntelliJ IDE
| |

Salesforce Development: How to Setup Illuminated Cloud 2 with the IntelliJ IDE

What is an IDE? IDE stands for Integrated Development Environment. Its primary purpose is to make your life as a developer considerably easier by doing things like: 1) Syntax Highlighting2) Auto-completing functions names, field names, object names, etc.3) Integrating git easily4) Improving debugging functionality5) Putting your command line in the same place you develop.6) Tons…

Salesforce Development: Creating a Self-Scheduling Apex Class
|

Salesforce Development: Creating a Self-Scheduling Apex Class

Why This Is Useful Have you ever wondered, “How do I effectively schedule an apex class to run every single minute of the day?” or maybe every hour or second (please don’t schedule anything every second, lol). Well there’s a great way to do it, by having your scheduled apex class reschedule itself! This method…