Salesforce Winter ’23 Release Notes are here. Like with every release salesforce comes with lots of new exciting features. So today we will take a quick overview of latest Salesforce release.
Salesforce Winter ’23 Release Notes Points Related to Salesforce Admin
Be Ready for Multi-Factor Authentication Auto-Enablement
In the first half of 2023, Salesforce is automatically enabling MFA for direct logins. So now all users must use MFA when they log in to Salesforce, whether they’re logging in directly or using single sign-on (SSO). Now its the right time to setup MFA to avoid last minute disruptions. You can check how to setup MFA here.
Create Custom Address Fields (Generally Available)
We can now create custom address field and replicate the behavior of standard address fields. Previously we need to create separate text field, we no longer need to do that.
Resolve Cases Quickly with Interactive Einstein Search Answers (Pilot)
Agents can take immediate action by using Einstein Search Answers to extract the most relevant information from a knowledge article. The returned answers are just three lines so that agents can copy the answer and its internal link to their clipboard and then share it without leaving the page. Previously, agents opened the record page and then copied the URL and section of an article.
Enhance More Object Record Pages With Dynamic Forms
We can now make account, including person account, contact, and opportunity record pages more robust by configuring them with Dynamic Forms.
Do More with Dynamic Related List Filters
When we filter dynamic related lists in the Lightning App Builder, we can select multiple filter values for picklist fields. For example, on the Account record page, filter a dynamic related list to show all cases with a priority of Medium or High. Previously, we could filter by only one picklist value.
Clean Up Inactive Picklist Values (Beta)
We can now bulk delete inactive unused picklist values. Previously we can only delete one value at a time. Opt in to Bulk Delete Inactive Picklist Values (beta) from the Picklist Settings page.
Bulk Manage Picklist Values (Beta)
We can now delete, activate, deactivate, or replace multiple custom picklist field values at once. Previously, we modified them one at a time. Opt in to Advanced Picklist Values Management (beta) from the Picklist Settings page. Then navigate to the custom field definition page. The Values and Inactive Values sections show a checkbox next to each picklist value. We can select multiple values and use one of the new buttons: Delete Selected, Deactivate Selected, Replace Selected, or Activate Selected. This feature is available only for custom picklists with predefined values.
Set Field-Level Security for a Field on Permission Sets Instead of Profiles During Field Creation (Beta)
Now when we are creating new field we can set field-level security for a field on permission sets instead of profiles.
Enable Field-Level Security for Permission Sets During Field Creation (beta) in User Management Settings. Then create an object, set field-level security on a field, or change the field type on a field. When you can assign field-level security, a list of permission sets appears instead of profiles. The list includes permission sets that have Create, Read, Edit, or Delete access on the field’s object. If no permission sets have that access on the field’s object, the list contains all the permission sets. If you must assign field-level security to profiles, turn off Field-Level Security for Permission Sets During Field Creation (beta) in User Management Settings. View Field Accessibility isn’t currently updated by this feature.
Try Scoping Rules in Performance and Unlimited Editions
To create a scoping rule, navigate to Object Manager in Setup. Select a supported standard or custom object that you want to add a scoping rule for. Click Scoping Rules. You can also create and modify scoping rules using Tooling or Metadata API.
Salesforce Winter ’23 Release Notes Points Related to Salesforce Developer
Develop from Anywhere Using Salesforce Code Builder (Beta)
Code Builder (beta) is a modern, web-based development environment that makes it easy for you to develop from anywhere without downloading software to your local device. With Code Builder, you can get a modern development environment that includes your favorite languages and frameworks, such as Apex, SOQL, and Lightning Web Components, all from within a browser.
Install the Code Builder (beta) managed package from AppExchange. Go to Code Builder documentation to learn about how you can try Code Builder.
Enable Third-Party Integrations with Light DOM (Generally Available)
Lightning web components render in shadow DOM by default, providing strong encapsulation but posing challenges for global styling and many third-party integrations. With light DOM, your component markup is attached to the host element instead of its shadow tree. You can then access it like any other content in the document host.
import { LightningElement } from 'lwc';
export default class LightDomApp extends LightningElement {
static renderMode = 'light'; // the default is 'shadow'
}
Use Lightning Web Security by Default in New Salesforce Orgs
The Use Lightning Web Security for Lightning web components setting is enabled by default in new Salesforce orgs. This enablement continues the gradual rollout of the new Lightning Web Security architecture announced in Spring ’22.
Enable Visualforce JavaScript Remoting Enforcement (Release Update)
The Visualforce Remoting API uses JavaScript to directly call methods in Apex controllers from Visualforce pages. To ensure that the API is properly secured, calls now have stricter validation.
To improve security of the Visualforce JavaScript Remoting API, this update modifies how the CSRF token is created for the Visualforce $RemoteAction
global variable. This validation adds more protection to API remoting calls by guest users. Also, this update validates the {"apexType": "Object"}
parameter used by the Visualforce $RemoteAction
global variable against the Apex method parameter and throws an error if the apexType
parameter is invalid. This validation prevents users from providing Apex objects that they can’t access or providing Apex objects that don’t satisfy the Apex method parameter.
Secure Even More Apex Code with User Mode Database Operations (Beta)
We can now run more database operations in user mode with the enhanced user-mode support. The new Database methods support an accessLevel
parameter so that we can run the operations in user mode instead of in the default system mode.
Write Clear and Intentional Apex Assertions
Assert class now comes with new methods that fit the exact conditions that we are checking. Choose a method in the new System.Assert
class that best fits the condition. For example, to assert whether two values are equal, use the Assert.areEqual()
method.
Assert.areEqual();
Assert.isNull();
Assert.fail();
Assert.isInstanceOfType();
Existing methods are still supported but salesforce recommends to start using new methods going forward.
Did you find something missing in the release notes… yes The Flow. We have covered the flow in a separate post. You can also signup for prerelease org. So which feature you like most, let me know in comments. Happy Programming 🙂
Thanks for providing a summary of new Winter ’23 features, this saved my time 🙂