To save your users time and clicks, create a quick action that invokes a Lightning web component. On a record page, create a screen action that shows the component in a window, or create a headless action that executes with a click.
Where: This change applies to Lightning Experience desktop in Developer, Enterprise, Essentials, Professional, and Unlimited editions.
Why: Make the custom component that’s essential to your users’ workflow easier to access. For example, your users often upload receipts to records, so you create a custom lightning-file-upload component that prompts them to upload a .png file. This component works well…
The Build Your Own (LWR) template is now available in all supported editions without purchasing Salesforce CMS. Previously, the template was available in Developer Edition or when you purchased Salesforce CMS in Enterprise, Performance, and Unlimited editions.
Where: This change applies to Lightning Experience and Salesforce Classic. The template is available in Enterprise, Performance, Unlimited, and Developer editions.
Why: Use this customizable template, powered by the new Lightning Web Runtime (LWR), to develop blazing fast digital experiences, such as websites, microsites, and portals.
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.
Where: This change applies to Lightning Experience desktop in Group, Essentials, Professional, Enterprise, Performance, Unlimited, and Developer editions.
When: This pilot feature is available in the Spring ’21 release.
Who: Available to orgs that enable the pilot feature.
How: Create a Lightning web component, then create…
Use the BarcodeScanner API to add barcode scanning to your Lightning web components. Scan UPC, QR, and other standard barcode types from Lightning components running on a mobile device. Look up product details, record inventory scans, save contact details from a conference badge — your code, your way!
Where: This feature is available in Lightning web components when they’re running in the Salesforce mobile app or Mobile Publisher.
Why: Improvements to the BarcodeScanner API in this release include the following.
You can now vary what people see on a record detail page using audience criteria based on record fields. For example, you can display different theme layouts when someone is looking at a coffee machine or a box of tea, or different pages for high-value and low-value opportunities. Also, we moved record criteria from the advanced section into the main body of the editor, so you can easily combine it with user criteria to create custom formulas.
Where: This change applies to Lightning communities accessed through Lightning Experience and Salesforce Classic in Enterprise, Essentials, Performance, Unlimited, and Developer editions.
Use Lightning message service to communicate across the DOM — between Visualforce pages, Aura components, and Lightning web components, including components in a utility bar. You can use it to communicate between components within a single Lightning page or across multiple pages. If you’re switching from Salesforce Classic to Lightning Experience, you can now build Lightning web components that can communicate with existing Visualforce pages and Aura components. You can also use Lightning message service to communicate with softphones via Open CTI.
Where: This feature is available in Lightning Experience. …
The Lightning Web Components framework is now open source, empowering you to explore the source code, customize the framework to your needs, and build enterprise-ready web components on any platform, not just Salesforce.
Why: In the past, you had to use different frameworks to build different sides of an application. For example, you used Aura to build the employee-facing side of an application on Salesforce. You used React, Angular, or Vue to build the customer-facing side of the application, and you deployed it on Heroku or on another platform. …
As a Salesforce Lightning Developer, many times you need to create custom notifications, below are some generic notification style with sample code which you can use in the custom lightning component.
Usage — Can be used to display the notification on Component Page as an inline message.
Batch Apex classes can fire platform events when an error or exception is encountered. A batch Apex class declaration must be using API version 44.0 or later to implement the Database.RaisesPlatformEvents interface and fire a platform event. A platform event record now includes the phase of the batch job (start, execute, or finish) when the error was encountered. The start and finish methods of the Database. The batchable interface now fires platform events on error (which they didn’t do in the beta release).
Where: This change applies to Lightning Experience and Salesforce Classic in Enterprise, Performance, Unlimited, and Developer editions.
Take your related lists to the next level. With Enhanced Related Lists, you can show up to 10 columns, resize and sort your columns, perform mass actions, and wrap text.
Where: This change applies to Lightning Experience in Essential, Group, Professional, Enterprise, Performance, Unlimited, and Developer editions.
How: From the related lists component in the Lightning App Builder, select Enhanced List from the Related List Type dropdown (1). You can customize how many records to display at once, and choose whether to show the list view action bar.
Choosing Enhanced List affects all related lists in the component (2). To…
Salesforce Evangelist || Blockchain Enthusiast || Architect || Trainer || Blogger || Believes in turning Ideas to reality || Day Dreamer || Happy Person