Use Static Resource in LWC (Lightning Web Component)

In this implementation, we will implement the functionality to import and use static Resources in LWC (Lightning Web Component). Let’s just hop into the implementation. Implementation In this implementation, we will use <lightning:carouselImage> to display the list of images from Static Resource. First, create a Static Resource and upload a zipped folder with some images. … Read more

Dynamic Forms in Lightning using Lightning App Builder

In this post, we will implement the latest feature provided as part of the Winter ’21 release that is Salesforce Dynamic Forms in Lightning using Lightning App Builder. Using Dynamic forms in Lightning, we can drag and drop the fields in Lightning App Builder to arrange them as per the need rather than updating the … Read more

Call Method of Child from Parent – Reusable Component in Lightning

In this post, we will implement the functionality to call a method of Child component from Parent and how to make a Reusable Component in Lightning. To call a method of Child Component from Parent, we need to make use of <aura:method>. <aura:method> executes in a Synchronous manner and hence it is easy to return … Read more

How to use LWC in Visualforce Page?

In this post, we will implement the functionality to use LWC in Visualforce Page using Lightning Out. There are many projects which are still maintained in Visualforce Page. In such projects, there are new requirements that are being developed using/in Visualforce Pages only. But after the introduction of Lightning Out, we don’t have to do … Read more

Slots in LWC (Lightning Web Component)

In this post, we will see why and how we should use Slots in LWC (Lightning Web Component). Slots in LWC are useful to make Lightning Web Component reusable and more flexible. It is also used to create a template in Lightning Web Component where we can create dynamic sections where the markup can be … Read more

Callout from LWC (Lightning Web Component)

In this post, we will implement the functionality to make an external callout from LWC (Lightning Web Component). We will make use of Named Credentials as well. Named Credentials makes it easy to call API from LWC and Salesforce altogether. Let’s get into the implementation. Also Read: Named Credentials in Salesforce with Example Implementation To … Read more

Drag and Drop between LWC (Multiple)

In the previous post, we implemented Drag and Drop functionality in the same Lightning Web Component. You can check the full implementation here. In this post, we will implement the Drag and Drop between Multiple LWC (Lightning Web Component). This post will cover multiple implementations, so let’s grab a cup of coffee, and hop into … Read more

Drag and Drop in LWC (Lightning Web Component)

This post will walk you through the implementation of Drag and Drop in LWC (Lightning Web Component) in the same component. We have to use HTML Drag and Drop API. We can also implement Drag and Drop between multiple Lightning Web Components which you can check here. Let’s get into the implementation. Implementation In this implementation, … Read more

Share JavaScript Code Between LWC and Aura

In this post, we will implement the functionality to share JavaScript code between LWC and Aura Component. Many projects use the Aura Component and LWC in the same project. And if there is some common JavaScript code that is used in both types of components, we can keep the common JavaScript Code in a single … Read more