How to refresh Lightning Data Table after triggering standard event(new/edit)?

How to refresh Lightning Data Table after triggering standard event(new/edit)?                  In general way, if we will try to create a new record by NavigationMixin Create event from Lightning Data Table, it will be redirected to the detail page of newly created record, …

20,008 total views, no views today

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 this by “getRecordUi” function. Basically, getRecordUi is used to get …

32,976 total views, no views today

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 know how to invoke Lightning Web Component from Lightning Aura …

42,310 total views, no views today

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. We will learn how to use Jest to test our …

8,821 total views, 6 views today

Join #Journey2Salesforce Ecosystem

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

7,480 total views, 3 views today

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 can be used for Test a component in isolation Test …

17,804 total views, no views today

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) of the document. When DOM is created? At the time …

22,176 total views, 1 views today

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 Lightning Web Component. We can use the same class. LWC_ContactController.cls …

10,057 total views, no views today

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 Contact record to Lightning Web Component. We can use the …

8,196 total views, no views today

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 button after provided the Account Name. Step 1: We have …

75,880 total views, 6 views today