Regular Expression to Escape SOQL/SOSL Inputs

User Story We want to create a table with search, sort, and pagination functionality. Over the course of the next several posts, we are going to look at two possible ways to achieve this, with either server-side or client-side functionality. We will start with the basics of searching: writing our queries. If you would likeContinue reading “Regular Expression to Escape SOQL/SOSL Inputs”

Width-Aware Collapsible Table

User Story We want to create a lightning__RecordPage component that displays a table that looks different whether it is in a main region or a sidebar, which means that, by default, the component is responsive and mobile friendly. For this example, we will be using the relationship between the Account and Contact objects in SalesforceContinue reading “Width-Aware Collapsible Table”

Creating Dynamic Charts with Chart.JS – Part Two: Creating a Truly Dynamic Dashboard

User Story We have some information on our objects that we want to view in dynamic charts. These charts will update based on the object that is created by inputting a sentence into a Lightning Web Component. Background In the previous post, we started on our Lightning Web Component. We are going to use Chart.jsContinue reading “Creating Dynamic Charts with Chart.JS – Part Two: Creating a Truly Dynamic Dashboard”

Creating Dynamic Charts with Chart.JS – Part One: Palindromic Sentences

User Story This is a pretty basic Intro to JavaScript problem (and common interview and homework problem!) that we will be solving via Salesforce. We want to input a sentence or phrase and determine whether or not what we have entered is a palindrome. For kicks and giggles, we also want to count the numberContinue reading “Creating Dynamic Charts with Chart.JS – Part One: Palindromic Sentences”

Javascript I Exam Overview

This is a long awaited post, as I passed the Javascript Developer I certification in October, and it is now January! What can I say, sometimes life gets in the way. Much to my surprise and delight, I passed the exam on the first try. Due to COVID restrictions, a lack of testing resources, andContinue reading “Javascript I Exam Overview”

Lightning Web Components Specialist Superbadge (Partial) Walkthrough

This is a partial walkthrough of the Lightning Web Components Specialist Superbadge on Trailhead. This Superbadge is required for the Salesforce Javascript Developer I certification, and requires familiarity with writing code for Salesforce in Visual Studio Code. Disclaimer: this is not meant to be a full solution. I merely collected the resources I used asContinue reading “Lightning Web Components Specialist Superbadge (Partial) Walkthrough”

Displaying Captured Geolocation on a Google Map

Introduction Today I’ll be expanding on my previous post, Capturing Geolocation Using Lightning Components. If you don’t need to capture your device’s geolocation for a lead, that’s okay! This tutorial can be used on any object that has a geolocation field. User Story We are selling cookies door to door, and we want to keep trackContinue reading “Displaying Captured Geolocation on a Google Map”

Capturing Geolocation Using Lightning Components

User Story We are selling cookies door to door, and we want to keep track of the houses we’ve hit! We are going to capture the geolocation of each house on a lead object using our phones so that we know who in the neighborhood we talked to. Background Geolocation Custom Fields are available onContinue reading “Capturing Geolocation Using Lightning Components”