Category Archives: Lightning

How to use decorators( wire, track, api) and work with Salesforce Data in Lightning Web Components

Before Starting the code, let understand some basic concepts:- Decorators Lightning Web Components has three decorators that add functionality to a property or function. The ability to create decorators is part of ECMAScript, but these...

Continue Reading... 4 comments

How to interact one lightning Web Component with Aura Component.

Step 1) First we create Lightning Web Component with name “linkToAnotherCmp” Click this link on how to create Lightning Web Component. Then, put this code into linkToAnotherCmp.html View the code on Gist. Here, you see the...

Continue Reading... One Comment

Quick Start: Lightning Web Components

Lightning WebComponent Introducing of Lightning Web Component Now, you can build Lightning Components using two programming models: Lightning Web Components (use core Web Components standards) Aura Components What is Lightning Web Component or LWC? A...

Continue Reading... 0 comments

Event propagation in lightning(Bubble and Capture) phase

Understanding: Event propagation rules determine which components in the containment hierarchy can handle events by default in the bubble or capture phase. Learn about the rules and how to handle events in the bubble or...

Continue Reading... 0 comments

How to use Platform Event in lightning by using lightning:empApi

Understanding : Salesforce introduced a new component lightning:empApi with winter 19 to support streaming API. Before Winter 19 Prior to winter 19 in order to use the streaming API, we need to upload the CometD...

Continue Reading... 3 comments

Difference b/w lightning:recordEditform, force:recordData and lightning:recordForm, When to use which

Overview: There are multiple ways to create forms to add, update and delete records in lightning like force:recordData(Lightning Data services), lightning:recordEditForm and lightning:recordForm. The functionality of these components is basically the same i.e. to create...

Continue Reading... 0 comments

Usage of force:inputField and Its working

force:inputField component is used to display fields of a particular sObject with the appropriate type.  In other words, we don’t have to explicitly specify the type of the field. The component automatically renders the type....

Continue Reading... 0 comments

Working and usage of lightning:recordForm

A lightning:recordForm component enables you to quickly create forms to add, view, or update a record. Using this component to create record forms is easier than building forms manually with lightning:recordEditForm and lightning:recordViewForm. The objectApiName...

Continue Reading... 3 comments

Working and usage of lightning:recordEditForm

A lightning:recordEditForm component is a wrapper component that accepts a record ID, and it displays one or more fields and labels associated with that record.  It use the lightning:inputField component inside to create editable fields....

Continue Reading... One Comment

Working of force:recordData

force:recordData component is part of lightning data service. At the simplest level, you can think of Lightning Data Service as the lightning components version of the visualforce standard controller. By using, Lightning Data Service we...

Continue Reading... One Comment

Find Out How We Can Help

If you're ready to find out more about how SimplusLabs can help energize your workers, your customers, and your business with a different experience, let's talk.