Determining Dynamically Whether A Salesforce Field Exists In APEX

Recently, I’ve been heavily involved in dynamic Apex and SOQL development. I encountered a requirement to create a custom AppExchange app capable of dynamically querying objects based on mappings provided by the admin and stored in custom settings. Initially, I was querying to check if the field existed and returning true if there was a …

Determining Dynamically Whether A Salesforce Field Exists In APEX Read More »

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 »