Custom Toast Component in Lightning Web Components

Lightning and Lightning Web Components LWC Cover Image

In my previous post I have shared toast component in lightning. Now we will convert that component in Lightning Web Components ( LWC ). LWC also provide standard toast event. But they are not supported everywhere, So today we will create an component which support all UI experience. We will also call child component method … Continue reading Custom Toast Component in Lightning Web Components

Advertisements

Use Static Resource In Lightning Web Component

Lightning and Lightning Web Components LWC Cover Image

As a Salesforce developer we know how important Static resource are, but in Lightning Web Components ( LWC ). Due to Lightning Web Components content security policy requirement we need to upload our external files in static resource first. So today we will learn how we can use static resource in LWC and we will … Continue reading Use Static Resource In Lightning Web Component

Custom Toast Component in Lightning

Lightning and Lightning Web Components LWC Cover Image

In Lightning we can show toast message to show message to users. But they are not supported everywhere. So today we will create our own custom Toast component. We have used SLDS toast here. So this component is supported on all UI, no matter if you are on LEX or in one.app Here we have … Continue reading Custom Toast Component in Lightning

Get Current User Details in Lightning Web Components

Lightning and Lightning Web Components LWC Cover Image

If you are a Salesforce developer or Admin the word hearing you most is Lightning Web components(LWS). If you still don't have idea what they are then you should check my post in which I have explained them and also created a sample component. Today we will check how we can get current user Id … Continue reading Get Current User Details in Lightning Web Components

Lightning Web Components: Datatable with LDS and Apex

Lightning and Lightning Web Components LWC Cover Image

Current week is Lightning Web Components (LWC) week. So I tried my hands on it and created a sample app. Using this sample app you will get the idea of LWC Datatable, LWC LDS RecordEditForm components. How to pass data between components using events and how to call apex method from Lightning Web Components(LWC). But … Continue reading Lightning Web Components: Datatable with LDS and Apex

Upload File to Google Drive Using Lightning Component

Lightning and Lightning Web Components LWC Cover Image

We have covered many points in lightning, but integration is the one we never touch. So today we will do Integration with google drive and upload file. First we need to create oAuth app in google developer console https://console.developers.google.com/      Now after the connect app is created. You will get the Client ID , Client secret. … Continue reading Upload File to Google Drive Using Lightning Component

Dependent Picklist Using Lightning Component

Lightning and Lightning Web Components LWC Cover Image

The number of base lightning component is increasing in each release. But there are still few missing area. One of them is Dependent picklist. So today we will create Dependent picklist using Lightning:select. This is a dynamic component, we just need to pass object name and dependent and controlling field. It will give you selected … Continue reading Dependent Picklist Using Lightning Component

Lightning DataTable: Lazy Loading with Inline Editing and Actions

Lightning and Lightning Web Components LWC Cover Image

So we are in 2019. Happy new year everyone. Hope this year brings good luck to everyone. Previously we developed a Lightning DataTable with Lazy Loading In that post we can load large amount of data. But if we need to perform some action on that, that was missing. So I enhanced that component and included … Continue reading Lightning DataTable: Lazy Loading with Inline Editing and Actions

Salesforce Spring 19 Release Notes: Things you should know

Its the year end and holiday season is on. Salesforce comes with an exciting new release spring 19. The main update of this release is Lightning Web Components. Today we will take a quick preview of points which I like in this update.            Lightning Web Components Lightning Web Components (LWS) … Continue reading Salesforce Spring 19 Release Notes: Things you should know