There are quite a few new features available to developers within this release. Below you will find some of our favorites that we think should be on your radar. Of course, this isn’t the full list and many more features were included. Head over to Salesforce Help & Training to read the Salesforce Summer ’21 release notes . The release dates are scheduled for May 15th, June 4th, and June 11-12th, but be sure to check to find out when your Salesforce org will get access to the new features.

Quick Actions now work with Lightning Web Components

Currently, this functionality is only available for object specific actions, so unfortunately you can’t yet call JavaScript directly from a global action yet. However, if you wanted to call JavaScript or Apex directly from a record, the easiest way to accomplish this was to use a flow, then connect your flow to Apex through an invocable method. Now, it’s possible to call any necessary JavaScript or Apex directly from a button without having to build a flow as an intermediary between a declarative button and the code you wish to run.


Here’s an example of the syntax you will need in the JavaScript file for your Lightning Web Component.

After the Lightning Web Component has been created, a user can add the Lighting Web Component directly to a Quick Action.

With access to code that you can launch from just the click of a button on a record, the possibilities are endless. Here’s an example of a quick action that calls a Lightning Web Component. In this example, a user clicks the Update Rating button to update the value of the Rating field to Hot.

Transaction Finalizers

For example, at the end of a queueable job, you can configure the finalizer so that it creates a task for a user to verify that all accounts were given a rating of Warm and have been moved to Hot.

Here is an example of what that could look like.

New Data Masking Features

Providing developers with access to all necessary tools while keeping sensitive data secure is a common problem for admins of Salesforce orgs. After all, how can companies utilize a partial or full Salesforce sandbox without exposing the PII of their users?

Data Masking within sandboxes addresses issues around providing an environment as close to production as possible for developers to test in, without having to compromise on security. As Salesforce enhances its current masking capabilities, it seems that this feature will become better known throughout the community.

Run apex in User Mode

Using the “with sharing” keyword in apex enables security in regards to record level access. However, to ensure users have the proper access to objects and fields, a developer will have to extensively use the isAccessible() , isUpdateable(), and isCreateable() checks before running SOQL or DML. Without these checks, it’s possible that a user could run a piece of Apex code that alters data that their profile does not have access to. This is because Apex runs in system mode by default.

Getting Access to Salesforce Summer ’21 Release Features

If you’re eager to get your hands on the Salesforce Summer ’21 release, you can sign up for a pre-release org . To see the full list of new features included with this release, refer to the .

Contact CRM Science Salesforce Consultants

Do you share in our excitement about the Salesforce Summer ’21 release? Are there any particular features that you believe will be helpful for your Salesforce instance?

At CRM Science, we make every effort to stay in the know when it comes to the latest and greatest on the Salesforce platform. Let us help you navigate the world’s #1 CRM in the world!

Please click here to read the original article as posted on crmscience.

We source the web to bring you best Salesforce articles for our reader’s convenience. If you want to have this article removed, please follow guidelines at Digital Millennium Copyright Act (DMCA)..