Handsome Guy
Author:

Bruce Tollefson

Currently working on my path to Certified Technical Architect. I am 14x certified, looking to use my knowledge and expertise in order to help teach others about Salesforce.

How to Dynamically get any Value from a Custom Apex Object

If you have worked with SObjects log enough you may have very well used the get() method. This method allow the ability to get any value using the SObjects value key. This is handy when trying to dynamically get a value. As an example I have an sObject list with Leads, Accounts, and Opportunities. They […]

LWC Arrays and Objects not updating on UI

When using updating an array or object and trying to have it show on the UI you may have noticed it not updating. Changing an LWC or Object value won’t trigger an update through the UI. If you are looping through a list or referencing an object and waiting for a change this may pertain […]

Test Class for AuraHandledException

When creating test classes you want to make sure your goal of the test classes is not to just get the required apex code coverage. But instead to be testing the method / class / scenario. Which often times can result in wanting to make sure an error is presented. There are multiple ways to […]

Filter on Debug Only in Visual Studio Code

When trying to debug within Developer Console you have the ability to filter the log to just show the debug statements that were placed in the code. This can be very helpful when trying to quickly diagnose why an error is occurring and is something used regularly. Unfortunately when trying to read a log in […]

Salesforce Lightning Out

Salesforce lightning out provides the ability to run lightning web components or aura components on an external website / web app. The process is pretty simple however became frustrating as well, which I will point out why. There are a couple of steps and requirements in order to make this work: Create Your Component Create […]

What does Bulkify Mean?

Within Salesforce you have a bunch of governor transaction limits. These limits are are there for each transaction as a way to make sure one org is not able to use more resources than estimated / allotted for and slow down the whole tenant. That is where bulkifying comes in. This term is used to […]

What is an Apex Transaction

In Salesforce an Apex transaction refers to the entirety of operations that are executed within a transaction boundary. The transaction boundary refers to everything that occurs within that transaction. In other words the Apex transactions is all the related code that fires due to something happening within the org. As an example let’s say you […]

What is Metadata

Metadata is ‘data about other data’. In the terms of Salesforce metadata is your Objects, Fields, Page Layouts, etc. This is what admins, developers, and architects will be updating within Salesforce. The end user such as a sales rep will interact with the metadata in the sense of the layout definition determining what they can […]

Randomly Select Records in a List

Within Salesforce if you would like to randomly select a record / object out of a list you would have to create something custom. This article will go through a randomizer class with several methods for how to randomly select a single record in a list, how to randomly select multiple records in list, and […]

Changing a Text Field to a Rich Text Field

You created a text field based on business requirements, everything gets implemented to production and now requirements changed where you need to change the field to a rich text field. To add to that you have added apex references to the field. If you check the UI go to the field you want to change […]

1 2 3 4