Category Salesforce Lightning

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…

25,787 total views, no views today

Imperative Service Syntax

We can get the Salesforce data in Lightning Web Component through Imperative Service. Please see the following image carefully to understand the Imperative Service Methodology with Syntax.   9,320 total views, 3 views today

9,320 total views, 3 views today

Apex Wire Method to Function

Now, we will see how we can get the Salesforce Record details using Apex Class – Wiring to Function mechanism. This mechanism is needed if you want to pre-process the data before going to the Lightning App. To do this…

12,101 total views, no views today

Apex Wire Method to Property

Now, we will see how we can get the Salesforce Record details using Apex Class – Wiring to Property mechanism. To do this exercise, we will try to show a Contact Record in Lightning App. Step 1: We have created…

9,640 total views, no views today

Update Record by UI API

Now, we will see how to update a record using UI API. In this example, we will update the logged-in user record by using uiRecordApi which is a part of the UI API. So, we have built a LWC named…

17,040 total views, 3 views today

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“.…

19,070 total views, no views today

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…

20,478 total views, 6 views today