Retrieve Component using Package.xml (All-in-One)

In this post, we will see how can we retrieve components using the Package.xml file from Salesforce Org. There are different types of components in Salesforce and it is difficult to remember the API names and Syntax of all the components required to retrieve using Package.xml. Hence, this post will help you to retrieve any … Read more

Current Record ID in LWC, Aura, and Quick Action

In this post, we will implement the functionality to get the current Record ID in LWC (Lightning Web Component), Lightning Aura Component, and Lightning Quick Action. Let’s hop into the implementation. Implementation In this implementation, we will create a Lightning Web Component and Aura Component to get the Current Record ID in LWC and Aura … 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

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

Access LWC without Login using Lightning Out

In an earlier post, we checked how to access Visualforce Page without login which you can check here. In this post, we will implement the functionality to access LWC without a login on a Public Website using Lightning Out. Let’s just get into the implementation. Implementation To host lightning components on other web servers and … Read more

Platform Events in Lightning (Emp API)

We can use Platform Events in Lightning (Emp API) to connect business processes in Salesforce and external sources through the exchange of real-time event data.  Platform events are secure and scalable. We can create a Platform Event and add custom fields as per the business needs. Platform event messages are published to the Event Bus. … Read more

Custom Label in LWC, Aura, Apex, and Visualforce

Custom Labels are used to create multilingual applications by automatically displaying information or any text in a user’s native language. In this post, we will create a Custom Label and then access it in Lightning Web Component (LWC), Lightning Aura Component, Visualforce Page and Apex Class. Let’s get into the implementation. To create a Custom … Read more

Current User Id in LWC, Aura, Apex, and Visualforce

This is a simple but very useful post. This post will show how can we get the Current User Id in LWC (Lightning Web Component), Aura, Apex, and Visualforce. Let’s just get into the implementation. Current User Id in LWC (Lightning Web Component) To get the current User Id in LWC, we need to import … Read more

Address Lookup in Lightning (LWC, Aura) using Google API

In this post, we will implement the Address Lookup in Lightning (LWC, Aura) using Google Maps Places API in Lightning using Aura and Lightning Web Components. This is used to Autocomplete address in Lightning. When we start typing an address in the lookup field, a dropdown menu displays matching addresses returned by the Google Maps … Read more