May 2024

JEST Setup For Salesforce

Prerequisites:
Salesforce CLI, Visual Studio Code, Salesforce Extentions for Visual Studio Code, Node.js, npm installed and updated.
To confirm Node.js and npm is installed, In Visual Studio Code terminal, enter the following command respectively :
node –version
npm –version
Confirm the CLI is properly installed and on the latest version by running the following command:
sfdx update

JEST Setup For Salesforce Read More »

10 Configuration Based Salesforce Interview Questions

I am trying to give only the important questions that are required during the interview process. It is always good to read some extra questions as well but you can always keep revising these questions.

1. What is a Master-Detail Relationship?
Answer:A Master-Detail relationship in Salesforce establishes a parent-child relationship between two objects. The parent object (master) controls the behavior of the child object (detail). Child records inherit security settings, sharing rules, and deletion behavior from the parent.

10 Configuration Based Salesforce Interview Questions Read More »

Embark on a Learning Adventure: Mastering Jest for Lightning Web Components (LWC)

Hey there, fellow developers and curious minds! Are you ready to take your Lightning Web Components (LWC) skills to the next level? If you’re nodding your head, you’re in for a treat. I’m thrilled to introduce you to a brand new series of blogs and videos that will demystify the world of Jest in LWC development.

Embark on a Learning Adventure: Mastering Jest for Lightning Web Components (LWC) Read More »

How to Declare Variables in Lightning Web Components

JavaScript is a widely used programming language for making websites and web applications. In the Salesforce world, it’s crucial for creating Lightning Web Components (LWC). When you’re using JavaScript in LWC, it’s important to know the difference between ‘let’ and ‘var’ and ‘const’ because they are used to create variables in slightly different ways.

How to Declare Variables in Lightning Web Components Read More »

How to use Custom Type in Lightning Datatable LWC

Lightning Datatable is a powerful prebuilt component provided by Salesforce for Lightning Web Components (LWC). While it offers default data types like text, date, and URL, there are instances when customizing the display is necessary. In this article, we’ll delve into custom types and why they are essential for adding interactive elements like custom buttons, images, and clickable columns in a Lightning Datatable.

How to use Custom Type in Lightning Datatable LWC Read More »

Why Mutating SObject Keys in Maps Can Cause Null Values in Apex.

In Apex, a Map is an essential data structure that stores key-value pairs internally by hash codes. When retrieving a value using the get method, the Map uses the hash code to determine the correct area in storage to search for the value. However, if you modify the hash code of the key, the value cannot be found in the original bucket, resulting in lost data within the Map.

Why Mutating SObject Keys in Maps Can Cause Null Values in Apex. Read More »

Salesforce Interview Questions – Future Method

In this article, we will explore some of the important future method related interview questions and answers.

Q.1: What is Future Method and Why it is used?
Ans: Future method is a form of asynchronous apex. It is run in separate thread when resources are available.It is used to run long running operations like external web service callouts or any task that can be completed in near future.We can only pass primitive data types, arrays of primitive data types, or collections of primitive data types as parameters. 

Salesforce Interview Questions – Future Method Read More »