Apex Unit Test: What Is The Significance Of Writing Test Classes In Salesforce?

In Salesforce, writing test classes is a crucial practice for ensuring the quality and reliability of your code. These classes are specifically designed to test the functionality of your Apex classes, triggers, and other components. Test classes or test methods validate whether a specific segment of code is functioning as intended. If any part of …

Apex Unit Test: What Is The Significance Of Writing Test Classes In Salesforce? Read More »

Master Everything About Triggers In Salesforce – Everything You Need To Know.

What exactly is an Apex Trigger? Apex Triggers, specific to Salesforce, are utilized for various tasks such as lead conversions. They are a type of code segment that executes before a record is inserted, updated, or deleted from the database. For detailed guidance on creating an Apex trigger in Salesforce, refer to the article “How …

Master Everything About Triggers In Salesforce – Everything You Need To Know. Read More »

Set Up And Manage Packages In A Scratch Org Using Salesforce DX.

Numerous useful SFDX commands exist to automate Salesforce deployment. However, a crucial aspect of Salesforce DX is the ability to set up an org within minutes, complete with features like Person Account and Communities enabled. At times, these commands may not suffice. I recently encountered such a situation where I needed to install and manage …

Set Up And Manage Packages In A Scratch Org Using Salesforce DX. Read More »

Some Useful Apex Pointers I’ve Learned Along The Journey

Salesforce’s server-side language is known as Apex. It is a strongly typed, object-oriented language that bears resemblance to Java according to many developers. Apex is tightly integrated with the Salesforce database, other Salesforce objects, and its frontend counterpart, Lightning.As an additional point, having worked with loosely typed languages throughout my career, learning Apex presented a …

Some Useful Apex Pointers I’ve Learned Along The Journey Read More »

Regular Expression For Escaping SOQL/SOSL Inputs

User Narrative We aim to develop a table that incorporates search, sorting, and pagination features. In the upcoming posts, we’ll explore two approaches to achieve this, focusing on either server-side or client-side functionality. We’ll begin by addressing the fundamental aspect of searching, specifically writing our queries. If you prefer to jump directly to the regular …

Regular Expression For Escaping SOQL/SOSL Inputs Read More »

Accessing The Parameters Of An External Credential In Salesforce Apex

Named and External Credentials are essential components for establishing secure data connections within Salesforce. Named Credentials act as references to external endpoints, allowing the platform to authenticate and access resources securely without exposing sensitive information like passwords. On the other hand, External Credentials help enhance security by abstracting authentication details from the integration code. This …

Accessing The Parameters Of An External Credential In Salesforce Apex Read More »