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”