Delete Record in LWC using deleteRecord of uiRecordApi

In this post, we will implement the functionality to delete records in LWC using deleteRecord of uiRecordApi module. Let’s hop into the implementation. Implementation In this implementation, we will display a list of Opportunities with the Delete button for each record. Once the Delete button is pressed, the respective Opportunity will be deleted from Salesforce. … Read more

Update Record in LWC using updateRecord of uiRecordApi

In this post, we will implement the functionality to update records in LWC using updateRecord method from uiRecordApi module. Let’s just hop into the implementation. Implementation In this post, we will fetch the details of the Case record and display it using lightning-record-view-form. Then, we will have a Text box and a button to update … Read more

lightning-record-form in LWC

In this post, we will implement lightning-record-form in LWC to create, edit, and view the record, all-in-one using a single base component. In the previous post, we implemented the same using lightning-record-edit-form to create the record and lightning-record-view-form to show the record which you can check here. This is probably the last post about Lightning … Read more

lightning-record-edit-form and lightning-record-view-form in LWC

In previous posts, we implemented Lightning Data Service in Lightning Web Components using lightning/uiRecordApi and Wire service to create and view records respectively. Click here to check how to create a record using Lightning Data Service. Click here to check how to view records using Lightning Data Service. In this post, we will create and … Read more

Get Record in LWC using getRecord of uiRecordApi

In this post, we will implement the functionality to Get Record in LWC using getRecord of uiRecordApi module with the Wire Service. In the previous post, we implemented the functionality to create a record using createRecord of uiRecordApi module which you can check here. Let’s just hop into the implementation. Implementation In this implementation, we … Read more

Create Record in LWC using createRecord of uiRecordApi

In this post, we will implement the basic functionality to create records in LWC using createRecord of uiRecordApi module. Let’s get into the implementation. Implementation In this implementation, we will create an Account record. We will display the Account record Id in the Alert box once the record is created successfully. Create a lightning web … Read more