Salesforce Quick Tips Image
| | |

Salesforce Developer Quick Tip – How to Dynamically Get Record Type IDs in Apex

As a Salesforce developer, you will inevitably face a scenario where you need to assign a specific Record Type ID to a record you are creating or updating in Apex. The “quick and dirty” solution is to copy the ID from the URL and hardcode it directly into your class. Don’t do this. Hardcoding IDs…

Salesforce Quick Tips Image
| | |

Salesforce Developer Tutorial – How to Calculate the Distance Between Records Using Data Integration Rules and SOQL Distance Queries in Salesforce

Have you ever needed to find all the Contacts within 10 miles of an office? Or maybe locate the nearest Leads to a traveling sales rep? Typically, geo-location features like this require integrating with third-party tools or external maps APIs. However, Salesforce has a powerful native feature hidden in plain sight that can do this…

Salesforce Quick Tips Image
| | |

Mastering Lightning Web Component (LWC) Styles: A Quick Guide to Styling Hooks

If you’ve ever tried to change the background color of a pre-built component from the LWC component library, that you are using within your own custom Lightning Web Component (LWC) you are building, your first attempt was likely somewhat confusing. Maybe you added a standard CSS class, set the background-color to green, saved the LWC,…

LWC Lifecycle Hooks
| | |

The Complete Guide to LWC Lifecycle Hooks

If you want to move beyond basic “Hello World” components and build robust, professional Salesforce applications, you have to understand the LWC Lifecycle. In this tutorial we’ll go over every single lifecycle hook available in Lightning Web Components. These hooks allow you to intervene at specific moments—like when a component loads, renders, or leaves the…

LWC Jest Tests
| | |

The Complete Guide to LWC Jest Testing: From Setup to Advanced Mocking

If you are a Salesforce developer, you know the drill: Apex requires 75% code coverage to deploy. But what about your Lightning Web Components (LWC)? While Salesforce doesn’t technically force you to test your front-end code, skipping it is a recipe for disaster. In this deep dive we break down everything you need to know…

What are LWCs?
| | |

Salesforce LWC Master Class (Ep1): What Are Lightning Web Components, when to use them, and why to use them.

If you are a Salesforce developer (or an admin looking to level up), you’ve likely heard the buzz around Lightning Web Components (LWC). But what exactly are they? Why should you use them over flows or Aura components? And how do you actually build one? In the first episode of the Salesforce LWC Master Class,…

What is the DOM?
| | |

Salesforce LWC Master Class: What is the DOM? (Ep. 2)

In Episode 2 of the Lightning Web Component Master Class, we’ll tackle a concept that sounds intimidating but is the absolute bedrock of frontend development: The DOM (Document Object Model). If you are a Salesforce developer moving from Apex/Visualforce to LWC, understanding the DOM is crucial because it bridges the gap between the code you…

Inheritance in Apex
| |

Design Patterns in Salesforce: Mastering Inheritance in Apex (Ep. 4)

It has been a long time coming, but we are back with Episode 4 of the Design Patterns tutorial series! In this installment, we dive deep into one of the fundamental pillars of Object-Oriented Programming (OOP): Inheritance. If you are an Apex developer looking to write cleaner, more efficient code, understanding inheritance is non-negotiable. Here…