Navigate to LWC (Lightning Web Component)

In this post, we will implement the functionality to navigate to (LWC) Lightning Web Component after clicking a button and how to handle other navigation in LWC. In an earlier post, we implemented the Navigation Service in LWC to navigate to Record Pages, Web Pages, Lightning Components, List Views, and Objects. There is not any standard method to implement the … Read more

Share Styles (CSS) between LWC

In this post, we will implement the functionality to Share Styles (CSS) between (LWC) Lightning Web Components. Usually, we have to create a CSS file in the Lightning Web Component bundle and hence each Lightning Web Component has its own CSS file. If the CSS file can be shared among the components, we can put … Read more

Navigation Service in LWC (Lightning Web Component)

In this post, we will implement Navigation Service in LWC to navigate to different page types. We need to use the lightning/navigation module to navigate to different pages like Record Pages, Web Pages, Lightning Components, List Views, and Objects. The Navigation Service in Lightning Web Components uses a PageReference JavaScript object which describes the Page … Read more

Lightning Message Service (LMS) – Future of Communication

Lightning Message Service (LMS) is the first Salesforce feature that enables the communication between Visualforce Page, Aura Component, and LWC (Lightning Web Component) anywhere on the Lightning Page. It provides a simple API to publish messages throughout Lightning Experience and subscribe to messages that originated from anywhere within Lightning Experience. The only requirement is that … Read more

Lightning Web Components (LWC) in Utility Bar

In this post, we will implement the functionality of adding Lightning Web Components (LWC) in the Utility Bar. Utility Bar is displayed at the bottom of the page in Lightning Application and we can access it on any page. Let’s get into the implementation. Implementation In this implementation, we are creating a Form using Lightning … Read more

Handling Events of LWC in Aura Component

In this post, we will implement the functionality of Handling Events of LWC in Aura Component. We can use the Lightning Web Components inside Aura Component but vice versa is not possible. Meaning, we cannot use Aura Component inside Lightning Web Components. We can use events to communicate between the Aura Component and Lighting Web … Read more

Display Toast Notifications in LWC

In this post, we will implement the functionality to display Toast Notifications in LWC using ShowToastEvent adapter from lightning/platformShowToastEvent module. Using Lightning Web Components, we can display the same type of Toast Notifications as in Lightning Aura Component. Let’s just get right into the implementation. This is going to be a quick one. Implementation We … Read more

Email-to-Case in Salesforce

In this post, we will implement the Out-of-the-Box functionality Email-to-Case in Salesforce. Using Email-to-Case in Salesforce, we can send an email to specific email address that we can register and a Case will be created in Salesforce. We can also auto populate few of the fields. Implementation Type Email-to-Case in Quick Find box and click … Read more

Custom Notification using Process Builder

In this post, we will implement the functionality to trigger and display Custom Notification using Process Builder in Salesforce. We can do this using Salesforce Our-Of-The-Box features. Hence, we don’t have to write the code. Implementation In this implementation, we will trigger the Custom Notification for the Owner of the Opportunity once the Opportunity Stage … Read more

Call Apex Method in LWC (Imperatively and Wire Service)

In the previous post, we created and displayed the record using Lightning Data Service in Lightning Web Component which you can check here. In this post, we will implement the functionality to Call Apex Method in LWC(Lightning Web Component) using Wire Service and Imperatively. There are two ways to call Apex method from Lightning Web … Read more