Tag: Javascript

  • Platform Developer II: Electric Boogaloo, or, Third Time’s The Charm

    2023 was a hot mess for me, as I’m finding out it was for many of you, as well. I only managed to get two certification attempts in in 2023 due to life circumstances, and I only made one pass: the Salesforce Associate certification, which I wrote about here. While it wasn’t a challenge for…

  • Regular Expression to Escape SOQL/SOSL Inputs

    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 like…

  • Width-Aware Collapsible Table

    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 Salesforce…

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

    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.js…

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

    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 number…

  • 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, and…

  • 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 track…

  • 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 on…