Spring ’21 Salesforce Lightning Experience and Classic Highlights : jenwlee

Spring ’21 Salesforce Lightning Experience and Classic Highlights
by: jenwlee
blow post content copied from  Jenwlee's Salesforce Blog
click here to view original post


The list of Spring ’21 features below apply to both Salesforce Lightning Experience and Classic.

There are additional Spring ’21 features available to Salesforce Classic onlyLightning Experience only, Salesforce Experience (Community) Enhancements, Mobile Enhancements, Other Enhancements in the Spring ’21 Release Highlights post.

Note: These features are not listed in any specific order.

1. Salesforce Flow Enhancements

2. Custom Metadata Type enhancements:

  • Track custom metadata type limits from the System Overview page.
  • Access custom metadata type records using static methods. YES!! Use the Apex getAll(), getInstance(recordId), getInstance(qualifiedApiName), and getInstance(developerName) methods and not use the SOWL engine.

3. Field enhancements:

  • Enforce limits on inactive picklist values to improve performance. Go to Picklist Settings | Enable unlimited inactive values on unrestricted picklists.
  • Field level help text has been increased from 255 to 510 characters.

4. Profile and Permissions enhancements:

  • (Update) Convert the Read Only profile to a custom profile. Once enforced in Summer ’21, it will convert the standard profile to a custom profile.
  • The Read Only Profile will not be available on new Salesforce orgs created Spring ’21 or later. Salesforce recommends using the Minimum Access standard profile instead.
  • (Requires the Cloud Integration user license) Use integration permission sets to share data by Salesforce integration-related features and services.

5. Lightning Component enhancements:

  • Aura component UI namespace is deprecated on May 1, 2021.
  • (Update, Enforced) Prevent the creation of function expressions in dynamically created aura components. Enforced in Spring ’21. Prevents values from being passed to $A.createComponent () or $A.createComponents() as an Aura function expression.
  • (Update, Postponed) Enforce access modifiers on apex properties in Lightning component markup. Postponed to Summer ’21. This update makes Lightning components consistent with the use of Apex properties. To make an Apex property readable outside of an Apex class, the property cannot have a private or protected access modifier.
  • (Update, Postponed) Enable secure static resources for Lightning Components. Postponed to Summer ’21. Serves all static resources from a visualforce domain instead of the lighting domain.

6. Apex enhancements:

  • (Beta) Transaction Finalizers feature establishes a Queueable job that failed due to an unhandled exception to re-queued 5 times.
  • Add a callout attribute to an invocable Apex method so a flow calling the action knows how to manage the transaction at run time.

7. New orgs created Spring ’21 or later, you can create up to 5,000 roles. For existing orgs, contact Salesforce Support to increase the limit above 500 roles.

8. Remove profile information from CTI information when Profile Filtering is enabled. It will only show the number of users associated to the call center. To enable Profile Filtering, go to User Management Settings, click Profile Filtering.

9. You can now track changes to Email Relay in the Setup Audit Trail.

10. It’s back! You can now create an object relationship to the Opportunity Product. This was previously released in Winter ’21 and was removed.

11. Enable Einstein Opportunity Scoring with a smaller data set. Until you have enough of your own data for Einstein to switch to a scoring model using your data, Einstein Opportunity Scoring will use a global scoring model.

12. (Beta) Extend Salesforce with Salesforce Functions. Extend Salesforce with custom, scalable business logic using your preferred programming languages and open source components.

13. Identity and Access Management enhancements:

  • Require Client Secret during a Refresh Token Flow. To configure this, on the Connected App page, select Require Secret for Refresh Token Flow.
  • View user login security metrics (single sign-on and MFA) on the Lightning Usage App.
  • Monitor how 3rd party identity providers authenticate users via OpenID Connect by adding the the Authentication Menthod Reference column to your Login History.
  • Limit for access and refresh tokens have increased to 10,000 characters from 2,000 for the access token and 1,024 for the refresh token previously.
  • Change email addresses and reset passwords security. When you change a user’s email address, the confirm email is sent to both the new and old email address. The email address is updated when the user clicks on the link in the confirm email. If you change the email address and reset the password at the same time, they click on the link in the confirm email and reset their password. The email address is changed after their confirm the email address change and complete the password reset process.

14. Domains enhancements:

  • Easily rename and manage your My Domain from the improved setup page.
  • (Salesforce orgs with My Doman routed through Salesforce Edge Network) Standardize your Salesforce URLs with enhanced domains. Use enhanced domains to include your company specific My Domain name in your org including Salesforce Sites and Experience Cloud sites since it no longer includes instance names.


  • (Generally Available) Test custom domains in a sandbox. Test a custom domain before deploying in Production, such as a domain you own to host your external facing content through Salesforce Sites and Experience Cloud sites. For more information, visit the release notes.
  • Enable HTTPS on your domains. Salesforce will disable HTTP only domains by July 2021. Move your Salesforce Sites and Experience Cloud sites to HTTPS now in anticipation of the change. Go to Domains | select the HTTPS option other than Salesforce serves the domain over HTTP without support for HTTPS access, and select Enable Strict Transport Security headers. For Salesforce Sites and Experience Cloud sites, select Sites | click on the site label, click Edit and select Require Secure Connections (HTTPS) and Upgrade all requests to HTTPS.
  • (Previously Released Update) Deploy a My Domain. This update applies to all orgs without a deployed My Domain starting Winter ’21.
  • (Update, Retired) Stabilize URLs for visualforce, Experience Builder, Site.com Studio and Content Files. This update is retired, use enhanced domains to remove instance names from the URL.

15. Retirement of legacy Platform API:

  • SOAP API: 7.0, 8.0, 9.0, 10.0, 11.0, 11.1, 12.0, 13.0, 14.0, 15.0, 16.0, 17.0, 18.0, 19.0, 20.0
  • REST API: 20.0
  • Bulk API:16.0, 17.0, 18.0, 19.0, 20.0

16. (Shield Platform Encryption and Service Cloud with Chat enabled) Encrypt Utterance Data for Bots. Encrypt sensitive data used for bot training by encrypting the data in the Utterance field on the Utterance Suggestion object.

  • (Requires additional cost) Security Center enhancements:
    • Update individual metrics as you need by clicking on Update Data on the metric detail page.
    • Access the last 6 months of historical Health Check information.
  • (For customers with Salesforce Shield or Event Monitoring add-on) Event Monitoring enhancements:
    • Analyze more events in the Event Monitoring App by creating a new Event Monitoring Analytics app or upgrading your existing app:
      • Apex Callout: Details about callouts (external requests) during Apex code execution
      • Apex REST API: Captures information about every Apex REST API request
      • Apex SOAP: Details about Web Services API call details
      • Apex Trigger: Details about triggers that fire in an org
      • Bulk API: Details about Bulk API requests
      • Concurrent Long-Running Apex Limit: Information about long-running concurrent Apex requests in your org that Salesforce terminated after reaching your org’s concurrency limit
      • Knowledge Article View: User activity with your knowledge base
      • Search: Details about user search queries
      • Search Click: Details about user interaction with the search results
      • Wave Download: Downloads made from lens explorations and dashboard widgets
    • Automate real time event monitoring setup with the metadata API. Use the Metadata API to modify multiple events at the same time programmatically.
    • Monitor authentication request events from another app provider. Use the IdentityProviderEventStore big object to monitor authentication request events.
    • (Beta) Filer UserId on a User’s Report Activity. Filter event data by the UserId field in standard SOQL queries for Report Event.

15. New and Changed Items for Developers:

January 04, 2021 at 06:30PM
Click here for more details...

The original post is available in Jenwlee's Salesforce Blog by jenwlee
this post has been published as it is through automation. Automation script brings all the top bloggers post under a single umbrella.
The purpose of this blog, Follow the top Salesforce bloggers and collect all blogs in a single place through automation.