The Apex Master Class
What Are Switch Statements in Apex? (Ep. 27)
What Is A Switch Statement? A switch statement looks at one variable and picks a branch based on its value. It’s doing much the same job…
15 Jun 2022
3 min
Category
Salesforce Tutorials
All of our Salesforce tutorials
143 posts
The Apex Master Class
What Are Switch Statements in Apex? (Ep. 27)
What Is A Switch Statement? A switch statement looks at one variable and picks a branch based on its value. It’s doing much the same job…
15 Jun 2022
3 min
The Apex Master Class
Conditional Statements (If/Else) in Apex (Ep. 26)
Making Your Code Decide Things Every bit of code we’ve written so far runs straight through, top to bottom, doing the same thing every time. Which…
13 Jun 2022
3 min
The Apex Master Class
When to Use the Private Keyword in Apex (Ep. 25)
Your Default Setting Last of the four access modifiers, and the one you should be reaching for most. private means only this class can use it.…
2 Jun 2022
4 min
Salesforce Development: Lightning Web Components (LWC)
Open Source Salesforce – Add Character Countdowns to Text Fields on Page Layouts!
Why This Is Useful Here’s a complaint I’ve heard on a good handful of projects: Salesforce doesn’t tell you how many characters you have left in…
4 May 2022
3 min
The Apex Master Class
When to Use the Protected Keyword in Apex (Ep. 24)
The One Nobody Uses protected is the access modifier most Salesforce developers have never deliberately typed. It sits in an odd middle ground and it only…
27 Apr 2022
3 min
The Apex Master Class
When to Use the Public Keyword in Apex (Ep. 23)
What Does Public Mean? Last episode we covered global and I told you to use it as little as possible. Today’s is the one you’ll actually…
25 Apr 2022
3 min
The Apex Master Class
When to Use the Global Keyword in Apex (Ep. 22)
First, What Is An Access Modifier? This is the first of four episodes on access modifiers, so let’s define the term before we get into the…
22 Apr 2022
3 min
The Apex Master Class
When to Use the Static Keyword in Apex (Ep. 21)
Knowing What It Is Isn’t The Same As Knowing When To Use It Last episode we worked out what static actually does. This episode is the…
20 Apr 2022
4 min
The Apex Master Class
What Is the Static Keyword in Apex? (Master Class Ep. 20)
What Does Static Mean? I’ll be straight with you up front: static is one of those keywords that seems perfectly obvious until somebody asks you to…
18 Apr 2022
4 min
The Apex Master Class
What Are Maps in Apex? (Apex Master Class Ep. 19)
What Is A Map? A map is a collection of key/value pairs, where each unique key points to a single value. I’ll be honest with you:…
14 Apr 2022
4 min
Salesforce Administration
How To Lay Easter Eggs In Your Salesforce Org!
Why This Is Useful Look, this one isn’t useful in the traditional sense. Let’s be honest with each other. Here’s the case for it anyway. Even…
13 Apr 2022
3 min
The Apex Master Class
What Are Sets in Apex? (Apex Master Class Ep. 18)
What Is A Set? A set is an unordered collection of elements that contains no duplicates. Which is basically a List with both of its defining…
11 Apr 2022
3 min