Promise in LWC and JavaScript

In this post, we will implement the Promise in LWC and JavaScript. Promise in LWC works the same as it does in the simple JavaScript file. Promises is essentially a replacement for callback methods in JavaScript. If there are callbacks inside a callback and so on, it produces the issue known as Callback Hell. It … Read more

Share Records with Manual Sharing in Lightning

Manual Sharing in Lightning is the must feature for Salesforce Developers. In this post, we will see how can we share records with Manual Sharing in Lightning. Earlier, to share the records manually, we had to switch to Salesforce Classic and then use the Sharing button to share the records. We don’t have to do … Read more

Create Record using Flow in Salesforce

In this post, we will implement the functionality to Create Record using Flow in Salesforce. We will also cover How to get the current record Id in Flow in Salesforce. Screen Flows are used to guide users through a business process. We can take the input from users, make some decisions based on the input, … Read more

Flow Basics: How to use Flow Builder in Salesforce?

In this post, we will go through the Flow Basics in Salesforce and How to use Flow Builder in Salesforce to automate the business processes. We will also go through the different types of Flows in Salesforce. Let’s just get into the good stuff. What are different types of Flows in Salesforce? We can create … Read more

Preview Files in Lightning Aura Components

In this post, we will implement the functionality to preview files in Lightning Aura Component using lightning:fileCard and custom implementation. Let’s get into the implementation. Implementation In this implementation, we will create a Lightning Aura Component to display and preview images. Create a Lightning Aura Component and lightning:fileCard which accepts two arguments: fileId: Id of … Read more

Access Fields of an Object Dynamically in Lightning

In this post, we will implement the functionality to access Fields of an Object dynamically in Lightning Component. Ideally, we can access the Field of an Object using {!v.objectName.fieldName}. For example, to access the name of Account, we can use {!v.account.Name}. But what if we don’t know the name of the Field we want to … Read more

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