Display Flow Stages with Progress Indicator in Flow Screen

Do you know that now you can show your flow’s progress by writing a simple aura component that will track flow stages and display the progress? In this post, I am going to show you how you can quickly configure this in your flow. 

Create the Aura Component

The good news is that Salesforce already provides the code which you can reuse and create your own Aura component. You can get the code here.

Creating the Flow

You need to create a screen flow. Configuration steps are given below –

(more…)

SOQL Query Builder in VS Code, the fastest way to write SOQL statements

Salesforce introduced the fastest way to write SOQL statements, the SOQL Query Builder. SOQL Query Builder is the Visual Studio Code Extension that enables you to write, execute SOQL statements write inside your project workspace. Not only that, this tool will allow you to download the query result in either CSV or JSON format.

How to install SOQL Query Builder

Once you open the Visual Studio Code, search for SOQL in Marketplace. From there install the SOQL extension from Salesforce. After installation, it is always recommended to restart VS Code. Below is the screenshot 

How to use SOQL Query Builder

After installation, all your soql files will be stored under the folder scripts -> soql. You can save your own soql commands, just make sure the extension of the file is .soql.
Below is the example where I have opened account.soql file and executed the statement. As you can see, with this new tool, we have the opportunity to do everything we are doing today with workbench w.r.t. executing soql statements. Also, you can download the query result in either CSV or JSON format.

(more…)

Truncate Custom Objects in Salesforce

Have you ever dealt with the requirement where you need to delete all records from a custom object? There are multiple ways to do that like – running anonymous scripts, running batch classes, deleting from Workbench, etc. But as you can understand all of these solutions either need some sort of custom coding to make sure you are not hit by the Governor limits of the platform.

In this post, I am going to share the quickest and easiest solution to truncate any custom objects.

Is it available in Classic and Lightning both?

No, unfortunately, this option is only available in classic. (more…)

Service Cloud Consultant Certification Guide and Tips

Introduction

The Salesforce Certified Service Cloud Consultant certification is designed for consultants who have experience implementing Salesforce Service Cloud solutions in a customer-facing role. This is a highly scenario-based certification exam. So hands-on experience in implementing Service Cloud will provide the edge in clearing this certification. 

Ideal Candidate for this Certification

Customer-facing consultants who have experience in implementing Service Cloud solutions are the ideal candidates for this certification. As this certification will include a lot of scenario-based questions covering the service industry, so consultants with contact center industry experience will find the certification helpful for their domain. Any Salesforce admins who want to prove their advanced knowledge on the platform can also sit for this certification. 

(more…)

Setup Platform Encryption with Shield – Part I

While working on my current project, I got the opportunity to implement Salesforce Shield’s Platform Encryption for my customer. I thought of sharing my experience and learning here. So I will be publishing a few blog posts in the next couple of days covering my findings. 

Today’s blog post is the first one where I will be covering some of the basic information about Shield implementation.

How Salesforce Shield works?

The above picture will show you how the Salesforce Shield work. If you want to know more,  you can always read the Salesforce documentation here – Behind the scenes: The Shield Process Encryption Process. 

How to get Salesforce Shield?

Since Salesforce Shield is a new feature you will be implementing, it is highly recommended to create a sandbox first and test the impact of implementing Shield on your existing data as well as any existing implementation which includes your configuration and customization both.
To activate Shield, you need to contact Salesforce first and then they will activate it in the production org. Once it is activated, you can go to Setup -> Company Information (Screenshot below). Then click on “Match Production Licenses” and this will activate Shield in your Sandbox as well. [Note – If you are creating a brand new sandbox after Shield is activated in Production, then you do not require to perform the above step].

Enable Shield