Think. Build. Salesforce Solutions.

Salesforce Consulting Services across Salesforce Clouds & Across App Lifecycles

Blog

Salesforce Spring’21 Release Notes

By |2021-03-01T03:54:00+00:00February 26th, 2021|

As Salesforce Spring’21 will be rolled out soon, we are here to help you discover the new features:

salesforce spring’21 release notes

LIGHTNING PAGE PERFORMANCE

When you’re creating or updating Lightning Record Pages, there is now an Analyze-button which is present in top right which shows you details of the page, for both Desktop and Mobile devices. The results show how long it takes for the page to load and useful tips on what to change, for improved performance using visuals metrics like gauge and bar graph.

Salesforce Spring’21 Release Notes

SALESFORCE MEETINGS

Salesforce is changing the way sales reps prepare and conduct their engagements with their prospect and clients. New functionality is coming to make meetings better for everyone. There is a couple of functionality, Meeting Digest and Meeting Studio.

1. Meeting Digest – A part of Salesforce Meetings, The Meeting Digest delivers a single pageview for Sales Reps before a meeting where they can get insights about who’s attending a meeting, reminders about meeting invitation responses and details, and any related record activity, powered by Einstein.

Spring’21 Release Notes

2. Meeting Studio – This tool helps keep prospects and customers engaged during meetings. Reps are able to show their camera and presentation in the same window to keep meetings flowing and allowing smooth transitions between sharing content, as well as a place to take notes, document next steps, and collaborate with their team.

spring 21 release notes

Lightning Email Templates

We will be able to use Lightning Email templates in email alerts, including email template builder email templates, Process builder, Approval process, workflow, flow, and more to send emails to users. Previously, when you set up an email alert you used Salesforce Classic email templates only. This gives you more HTML features and the new Email Template Builder to design more attractive emails.

salesforce spring 21 release notes

Manual Sharing in Lightning

If you are tired of switching back to classic to share records and manage record share, Salesforce is bringing this functionality in Lightning Experience. With sharing, your users will now be able to share a record to a user, or group of users.

salesforce spring 21 features

SALESFORCE FLOW

Salesforce has renamed the Lightning Flow to Salesforce Flow. This will include all your process and flows features. Below some of the Salesforce Flow enhancements.

1. Screen elements now allow for Multi-Column support. You can now configure screens the make use of winder monitors by adding up to 12 columns to be added to a page.

salesforce spring’21 release notes

2. The ability to access prior values in a record-triggered flow.

salesforce release notes

3. Time based flow actions are coming so you can configure flows to execute an action at a particular time. Previously, it is only available through the process builder.

salesforce winter 21 release notes

4. Rich text emails are coming to flow, some admins will have more control over the way their emails look and feel and use Lighting Email templates also.

salesforce spring’21 release notes

5. Debugging tool enhancements make it easier to test and troubleshoot the flows. Many error emails now contain a link that opens Flow Builder, where you can see the interview’s path on the canvas and the error details. Debug schedule-triggered flows and auto launched flows with no triggers directly on the canvas.

  • Debug Failed Flows More Easily

No more scrolling through a long flow error email to figure out what went wrong during the run. Now you can simply click a link in the error email to open Flow Builder and see the failed flow interview’s path on the canvas. The detailed error information appears next to the canvas.

salesforce release notes

  • Debug Flows More Easily with Consistent Terms and Direct Debugging for Schedule-Triggered Flows

In addition to non-triggered auto launched flows, debugging directly on the canvas now supports schedule-triggered flows. Also, we updated the text in flow debug details and error emails to match Flow Builder’s element names: Create Records, Update Records, Get Records, and Delete Records.

salesforce release

  • See Accurate Flow Information in Debug Logs

Debug logs now record the total amount of CPU time consumed by a particular flow or process in the FLOW_INTERVIEW_FINISHED_LIMIT_USAGE log lines. Also, the FLOW_INTERVIEW_LIMIT_USAGE log lines now accurately record the CPU time consumed by flows and processes that are configured to run in API version 51.0 or later.

SOQL Updates

The SOQL language gets a very practical new operator (FIELDS) which allows to query all the fields, custom fields or standard fields of an object without having to list them one by one.

  • FIELDS(ALL) —to select all fields of an object.
  • FIELDS(CUSTOM) — to select all custom fields of an object.
  • FIELDS(STANDARD) — to select all standard fields of an object.

salesforce release spring 21

Apex Updates

Now, SOQL is no longer needed in order to retrieve Custom Metadata records. The methods getAll(), getInstance(recordId), getInstance(qualifiedApiName) and getInstance(developerName) can be used to retrieve records from a Custom Metadata, as it was already possible to retrieve Custom Settings records.

spring '21 salesforce release notes

Community Cloud becomes Experience Cloud

Salesforce has renamed the Community Cloud to Experience Cloud. Experience Cloud is a digital experience platform that helps companies quickly build connected digital experiences for their customers, partners and employees at scale. Combining features like Salesforce CRM, CMS, and Experience Builder with a suite of pre-packaged apps, companies can easily create and deliver personalized content, websites, portals, mobile apps and storefronts—with clicks, or code.

You can now find your communities in Setup → Digital Experiences.

salesforce spring 21

Another important feature for those who plan to build a customized Digital Experience (Community), you can now use the LWR (Lightning Web Runtime), a template that uses LWC (Lightning Web Components).

salesforce spring 21 features

Improved Detail Page Charts

The new Daily Changes chart overlay offers a clearer view of metric changes for each day. Now you can easily see when changes happened on specific days.

The Daily Changes view is available for all metrics in the Permissions category and all Configuration metrics except Security Health Check. Daily Changes is automatically enabled. You can hide and redisplay Daily Changes or Trend graphs by clicking the Daily Changes and Trend boxes.

salesforce spring 21 highlights

Use BatchApexErrorEvent Triggers to Monitor ISV Applications

Include BatchApexErrorEvent triggers in your managed package to monitor the health of batch jobs and take necessary corrective action without any post-installation steps.

The BatchApexErrorEvent object represents a platform event associated with a failing batch Apex execution. A batch Apex class must implement the Database.RaisesPlatformEvents interface, a BatchApexErrorEvent Platform Event is fired whenever a batch Apex job encounters an unhandled exception allowing ISVs to create a better performing product. It is triggered on any batch error, including “uncatchable” errors, such as limit exceptions and includes information such as job id, error type, record ids being processed, etc.

Report Details Emailed in .xlsx Format

Get report exports in the format you want. When exporting a report, you can select .xlsx, .xls, or .csv as the format. Previously only .xls and .csv were supported.

On the Reports page, select the Export row-level action for the report. Click Details Only and then select .xlsx as the Format option.

salesforce spring 21 release highlights

If security is a concern, you can hide the .xls option by selecting Hide the option to export a report in XLS format in Lightning Experience in Reports and Dashboards Settings.

In-App Guidance Updates

In-App Guidance allows you can create pop-up hints that help the new user to navigate a page. They can also be used when a feature has been changed or a new feature has been introduced.

There have been several updates provided in the Salesforce Spring 21 release including:

1. Adding images to prompts
2. Adding a snooze option, allowing users to view the prompts later.
3. More screen positions to display the prompts.
4. Shareable URLs to access in-app guidance.
5. Rich-text editing in docked prompts.

salesforce spring '21 highlights

salesforce release spring 21

Lightning Web Component Action (Pilot)

Create a Lightning Web Component (LWC) and use it as a quick action. Lightning Web Component actions work side by side on your pages along with Lightning component and Visualforce actions. LWC actions offer advantages such as the ability to easily customize headers and footers and to create actions that have no UI representation. Available to orgs that enable the pilot feature.

salesforce spring '21 release highlights

Flag Invocable Apex Methods That Make Callouts

For invocable actions that perform callouts, you can now add a callout attribute to the invocable Apex method annotation. With this information, a flow calling the action knows how to manage the transaction at run time. To flag callouts in Apex methods annotated with @InvocableMethod, add the callout attribute to the annotation and set it to true.

@InvocableMethod(callout=true, label=”My Action Label”)

If your action makes a callout, set the callout attribute to true. If the action is executed by a flow, at run time the flow determines how to successfully execute the action, in a new transaction or in the currently running transaction.
If the callout attribute is set to false, the action is flagged to safely perform in the transaction regardless of whether the transaction has uncommitted work.

Convert Leads to a Person Account and a Business Account at the Same Time with New LeadConvert Methods

For Salesforce orgs that use APEX Lead Convert, Person Accounts, and Contacts to Multiple Accounts, new methods are available on the LeadConvert() class. These methods allow converting leads into a business account and a person account instead of a contact.

getRelatedPersonAccountId():

  • Gets the ID of an existing person account to convert the lead into, in addition to the business account.

setRelatedPersonAccountId(relatedPersonAccountId):

  • Sets the ID of the existing person account to convert the lead into, in addition to the business account.

getRelatedPersonAccountRecord():

  • Gets the entity record of a new person account to convert the lead into, in addition to the business account.

setRelatedPersonAccountRecord(Entity relatedPersonAccountRecord):

Sets the entity record of a new account to convert the lead into, in addition to the business account.

To set the related person account, use either setRelatedPersonAccountId to specify an existing ID or setRelatedPersonAccountRecord to specify a new record, but not both. The person account appears in the Related Contacts list on the business account’s record home page.

A new method is available in the LeadConvertResult class.getRelatedPersonAccountIdThe ID of the new or existing related person account specified when convertLead() was invoked.

Customize your default no-reply Address

Email notifications are usually sent from noreply@salesforce.com or from the address of the Automated Case User, by default. Now you can use your own noreply-address, to stay more ‘on brand’. Please note that this is optional for now but will be enforced on 10 January 2022. From that date onwards, the existing functionality (sending from noreply@salesforce.com) will be phased out.

1. Go to Setup > Support Settings and select Send Notifications from System Address
2. Add an existing (a real) email-address to Setup > Organization-Wide Addresses > Special Purpose Organization-Wide Email Addresses

salesforce spring '21 new features

3. Click Enable Test Run in Setup > Release Updates > Use a Default No-Reply Address as System Address for Case Email Notifications
4. Disable the setting from step 1.

Email notifications for Case comments, escalations, assignments, and when an existing case receives emails, are now sent from your custom address.

Deploy Lightning Email Templates using Change Sets

Now you can use change sets and packaging to easily move the templates through your development street. Go to the component Type ‘Email Template’ and you’ll see the new type ‘Lightning Email Template’.

spring '21 salesforce release notes

Create a lookup to Opportunity Product

Now, you can now create a lookup relationship between any standard or custom object and Opportunity Product and can track your orders in a better fashion like locations, models, etc.

salesforce summer 21 release date

Monitor Login Metrics

Back in 2018, Salesforce released the Lightning Usage App, that provides insightful adoption metrics about your Salesforce Org. Salesforce has extended the functionality of this Dashboard to now provide login metrics.

This provides out-of-the-box insights, diving into how users are logging into your Org. e.g., Password free using SSO, using 2-factor, or any other multi-factor authentication. If you are tightening up how user’s login to your Org, then this is a great way to report on your success.

salesforce spring 21 features

Multi-Field Selection in Salesforce Reports

Spend less time creating reports and more on translating results into next steps. Multi-select allows you to drag multiple fields to your reports with a single action. Plus, you can now add or remove fields and columns and preview the results without delay.

salesforce spring '21 release features

Save Dashboard Results with Filter URL Parameters

There is no need to set up the same filters each time you view your dashboard in Lightning Experience. Create a custom URL that includes the filter parameters. Then when you access the URL, your dashboard opens with the filters already set. For example, you can customize your Opportunity Stages dashboard with a different URL for each account or create a custom URL for an account owner or lead source.

1. In the dashboard builder, set up the dashboard filters you want to use (1). Locate the URL for the dashboard page (2).

salesforce spring '21 features

2. Now add the filter parameters to the end of the URL. For example, this URL sets Stage (the first filter, or fv0) to “Closed Won” and Account Name (the second filter, or fv1) to “Acme.”

https://login.salesforce.com/lightning/r/Dashboard/01ZRM0000005jrv2AA/view?queryScope=userFolders&fv0=Closed%20Won&fv1=Acme

3. To add filters to the URL, use this structure:

  • &—Denotes a new parameter in the URL. If no other parameters are present in the URL, then substitute? in place of &.
  • fv0—The fv stands for filter value and is the name of the parameter. The number that follows represents the order in which the filter appears in the dashboard. The first filter is 0, the second filter is 1, and the third is 2.
  • =Closed%20Won—Specifies the filter value. The parameter value must be URI encoded, which means certain characters (such as spaces) must be written in a format that URLs can understand. In the example, the space (‘ ‘) between Closed and Won becomes %20 when URI encoded.

4. To open the dashboard with the filters selected, go to the URL you created. The URL is also available to share with your team or to modify and reuse.

salesforce spring 21 release notes

References

https://help.salesforce.com/articleView?id=release-notes.salesforce_release_notes.htm&type=5&release=230

 

One Comment

  1. Bhawani Sharma March 9, 2021 at 7:31 am - Reply

    Salesforce Spring’21 has some amazing features. Happy to know.

Leave A Comment