Category Archives: Salesforce Lightning

Lightning Data Service – Lightning Record Form

We can show the Salesforce Record using lightning-record-from Salesforce base component which is based on LDS(Lightning Data Service). Even, System will allow to edit the record in standard way using this component. We will show the user record by lightning-record-from … Continue reading

8,295 total views, no views today

Posted in Lightning Web Component | Leave a comment

How can you get the inputs directly without using the onchange event?

Till now, we have seen when we want to capture the value of input fields, we have used “onchange” event into the input fields just like In this “onchange” event procedure, always we are sending the values from input fields … Continue reading

19,637 total views, no views today

Posted in Lightning Web Component | Leave a comment

Lightning Web Component with Salesforce Data

Now the big question is how Lightning Web Component will communicate with Salesforce Data or Lightning Platform Database. There are many more strategies to get the data from Salesforce via Lightning Web Component. Please read the following strategies to communicate … Continue reading

9,456 total views, no views today

Posted in Lightning Web Component | Leave a comment

How to get Current User Id, Record Id and Object API Name in LWC?

In this section, we will see how we can get the Logged-In User Id, Current Record Id and Object API Name by Lightning Web Component. Thanks to Salesforce again to provide such a beautiful mechanism to get the Logged-In User … Continue reading

43,701 total views, no views today

Posted in Lightning Components | Leave a comment

How to set Design Attributes in Lightning Web Component?

To set the design attributes in Lightning Web Component, we have to work on configuration file or component.js-meta.xml file. We have created a Lightning Web Component named “configurator“. Step 1: Need to update the configurator.js-meta.xml file to set the visibility … Continue reading

15,375 total views, no views today

Posted in Lightning Web Component | Leave a comment

How to use assignment operator in conditional statement in LWC?

As per current release[Spring 19], you can not use assignment operator in conditional statement in html file of Lightning Web Component. That means, you can not put any condition in or the following syntax of html is invalid. template if:true={count==4} … Continue reading

28,836 total views, no views today

Posted in Lightning Web Component | Leave a comment

Get & Set in Lightning Web Component

In this session, we will learn how to use get & set method in Lightning Web Component. Generally, GET method returns value and SET method sets the value. We will follow the same way as in other OOPS Programming Language, … Continue reading

65,632 total views, no views today

Posted in Lightning Web Component | Leave a comment

Navigation Mechanism in Lightning Web Component

Navigation Mechanism is the way to redirect a new web page, new record, edit record, record detail page etc. without using Apex Class. We have created one Lightning Web Component named “lightningNavigation“. Step 1: Need to update the lightningNavigation.js-meta.xml file … Continue reading

Posted in Lightning Web Component | Leave a comment

Toast Notification in Lightning Web Component

In this section, we will see how to display toast notification and how to take user input through Lightning Web Component. The toast notification behavior is same as Lightning Aura Component. Following steps need to be maintained to fulfill the … Continue reading

15,927 total views, no views today

Posted in Lightning Web Component | Leave a comment

Visual Studio Code for Lightning Web Component

There are many tools to develop Lightning Web Component. In this session, we will see how to set up Visual Studio Code for developing Lightning Web Component. Step 1: Need to install Salesforce CLI (Command Line Interface) using the following … Continue reading

14,325 total views, no views today

Posted in Lightning Web Component | Leave a comment