Category Archives: Lightning Web Component

How to read Page Layout in LWC?

In this section, we will learn how to use getRecordUi in our Lightning Web Component(LWC). We will build one LWC by which we can show Account Information by using the same Account record id for learning purposes. We will do … Continue reading

1,794 total views, 6 views today

Posted in Lightning Web Component, Salesforce Lightning | Comments Off on How to read Page Layout in LWC?

How to increase the width of Quick Action and call the LWC from Quick Action?

Problem Statement: In many projects, I got the requirement to call the Lightning Web Component from Quick Action, but the width of that Lightning Web Component is almost 80% of the screen. How can you accomplish this? Solution: We all … Continue reading

5,163 total views, 12 views today

Posted in Lightning Components, Lightning Experience, Lightning Web Component, Salesforce Lightning | Leave a comment

Introduction of Jest – JavaScript Testing Framework

What is Jest? Jest is a JavaScript Testing Framework for the client-side application using Node, Babel, React, TypeScript, Angular as well as Lightning Web Component and more. Jest is a JavaScript library and it is distributed as an NPM package. … Continue reading

2,526 total views, 6 views today

Posted in Lightning Components, Lightning Web Component | Leave a comment

Join #Journey2Salesforce Ecosystem

Hello everyone, Please join #Journey2Salesforce ecosystem. It’s a great learning opportunity from Salesforce to build your career in Salesforce Platform. 2,430 total views, 6 views today

2,430 total views, 6 views today

Posted in Einstein, Lightning Components, Lightning Experience, Lightning Web Component, Salesforce Lightning | Leave a comment

Test LWC with Jest

Jest is a powerful JavaScript testing framework for the client-side project. It’s supported in any React Application, Node, Babel, TypeScript as well as Salesforce Lightning Web Component.Jest uses jsdom to provide an environment like a browser’s Document Object Model(DOM). Jest … Continue reading

5,853 total views, 6 views today

Posted in Lightning Components, Lightning Web Component | Leave a comment

DOM Manipulation in Lightning Web Component

In this session, we will learn how to manipulate DOM Tree in Lightning Web Component. What is DOM? The acronym of DOM is “Document Object Model”. DOM is a programming API for HTML & XML. DOM is a logical structure(tree) … Continue reading

5,549 total views, 2 views today

Posted in Lightning Web Component, Salesforce Lightning | Leave a comment

Showing Static Record using Apex to Wire Mechanism

Now, we will see how to get Salesforce data as static way using Apex. We have built a LWC named “showWireApexStaticContact“. Step 1: We have created an Apex Class named “LWC_ContactController” by which we will send the Contact record to … Continue reading

3,502 total views, no views today

Posted in Lightning Web Component | Leave a comment

Showing Static Record using Apex to Imperative Mechanism

Now, we will see how to get Salesforce data as static way using Apex with Imperative way. We have built a LWC named “showImperativeApexStaticContact“. Step 1: We have created an Apex Class named “LWC_ContactController” by which we will send the … Continue reading

3,016 total views, no views today

Posted in Lightning Web Component | Leave a comment

Apex Imperative Method with Parameters

Now, we will study how to get data based on some parameters from Lightning Platform Database using Imperative Way with Parameters in Lightning Web Component. To do this exercise, we will show the Contact Records when user will click Search … Continue reading

14,104 total views, 6 views today

Posted in Lightning Web Component | Leave a comment

Apex Imperative Method

Already, we have studied how to get data from Lightning Platform Database using wire mechanism in Lightning Web Component. Now, we will study how to get data from Lightning Platform Database using Imperative Way in Lightning Web Component. Step 1: We … Continue reading

10,965 total views, 18 views today

Posted in Lightning Web Component | Leave a comment