Category Archives: Lightning Components

Discussion about only related to Lightning Components.

Lightning Testing Service with Jasmine

Lightning Testing Service:  Salesforce has already provided the Apex Testing framework to check the features in your Apex classes and triggers at the server side. Now, the question is how to test the Lightning Component at the client side. Lightning Testing … Continue reading

2,982 total views, no views today

Posted in Lightning Components | 1 Comment

Method vs Component Event in Lightning

Already, we have studied about Method and Component Event in Lightning.Now, we will focus on the difference between Method and Component Event in Lightning. 1,199 total views, no views today

1,199 total views, no views today

Posted in Lightning Components | Leave a comment

How to use method in Lightning Component?

You can call a method using aura:method tag in a component’s client side controller instead of using Component Event. In short, aura:method communicates down the Containment Hierarchy that means a Parent Component can call aura:method on a child component in the … Continue reading

2,821 total views, no views today

Posted in Lightning Components | Leave a comment

Lightning Flow Overview

According to Salesforce, Lightning Flow consists of Process Builder and Cloud Flow Designer. Process Builder is responsible to create process when record is created/updated or any platform event is occurred. Cloud Flow Designer is used to create flows which is … Continue reading

1,348 total views, no views today

Posted in Lightning Components | Leave a comment

Create Record By Lightning Data Service

Create Record By Lightning Data Service In this section, we will create a Contact Record from Account using Lightning Data Service(LDS) in Lightning Experience. Step 1: Create a component bundle named “createContactByLDS”. createContactByLDS.cmp | to create Contact record from Account … Continue reading

2,369 total views, 2 views today

Posted in Lightning Components | Leave a comment

Load Record by Lightning Data Service

Loading record by Lightning Data Service In Lightning Experience, we will load the Account record with some attributes from Contact by Lightning Data Service. Step 1: Need to create a Lightning Component named “loadAccount“. loadAccount.cmp | It will show the … Continue reading

1,441 total views, 2 views today

Posted in Lightning Components | Leave a comment

Lightning Data Service

What is Lightning Data Service(LDS)? -Lightning Data Service is the data layer for Lightning. We can load, create, edit or delete a particular record by LDS without calling Server/Apex Class. You can compare Standard Visualforce Controller to Lightning Data Service. … Continue reading

1,833 total views, 3 views today

Posted in Lightning Components | Leave a comment

Convert a List from a Map in Lightning Component

Convert a List from a Map in Lightning Component In many projects, we have seen that we need to iterate a Map in Lightning component to satisfy the business requirement. But, it’s not possible in straightforward to iterate the Map … Continue reading

3,929 total views, 4 views today

Posted in Lightning Components | Leave a comment

How to use Map in Lightning Component?

Map: This is an collection of Key-Value pair items. A Map can’t contain duplicate keys. How to use Map in Lightning Component? A. How can we define and access the Map in Lightning Component? B. How can we define and … Continue reading

1,367 total views, no views today

Posted in Lightning Components | Leave a comment

How to use List in Lightning Component?

List: This is an ordered collection of items. A List can contain duplicate values. We can directly iterate List in Lightning Component. How to use List in Lightning Component? Step 1:  Need to write a Selector Apex Class which will … Continue reading

2,431 total views, 4 views today

Posted in Lightning Components | Leave a comment