Monthly Archives: April 2019

Create Record by UI API

Now, we will see how to create a record using UI API. In this example, we will create a Contact record by using uiRecordApi which is a part of the UI API. So, we have built a LWC named “createUIRecord“. … Continue reading

15,012 total views, 6 views today

Posted in Lightning Web Component | Leave a comment

Can we use UI API imperatively in Lightning Web Component?

NOPE. We cannot use UI API imperatively to get the record details in Lightning web Component. If we will try to use, we will get the following error. 7,728 total views, 3 views today

7,728 total views, 3 views today

Posted in Lightning Web Component | Leave a comment

Get record details by UI API

As discussed earlier, Salesforce introduced UI(User Interface) API to build Salesforce UI for mobile and custom web apps by calling this UI API. You don’t need to write Apex Class to fetch data or DML operations, just need to call … Continue reading

16,839 total views, no views today

Posted in Lightning Web Component | Leave a comment

Wire Service Syntax

Lightning Web Component can get Salesforce Data using a reactive wire service built on Lightning Data Service. Each value in the immutable stream is the newer version of the value that precedes it. Wire Service is a reactive service because … Continue reading

6,597 total views, 18 views today

Posted in Lightning Web Component | Leave a comment

How to Call Apex Class, get sObject/sObject fields from Lightning Web Component?

7,953 total views, 6 views today

7,953 total views, 6 views today

Posted in Lightning Web Component | Leave a comment

Lightning Data Service – Lightning Record Edit Form

Most Powerful Component – lightning-record-edit-form. Using this component, we can show and edit the record in a customized way. We can override the Save functionality and override the default behavior using this component. We can use lightning-input-field as well as … Continue reading

13,439 total views, 3 views today

Posted in Lightning Web Component | Leave a comment

Lightning Data Service – Lightning Record View Form

lightning-record-view-form component will display the record details by using record-id and lightning-output-field. This component is also based on LDS(Lightning Data Service). We will show the user record by lightning-record-view-from component. So, we have built a LWC named “showLRVFRecord“. Step 1: … Continue reading

12,708 total views, 3 views today

Posted in Lightning Web Component | Leave a comment

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,310 total views, 12 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,664 total views, 21 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,459 total views, 3 views today

Posted in Lightning Web Component | Leave a comment