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. We can upload and can refer them using CDN also. But it is always suggested to import third party library into salesforce static resource. If you still didn't started Lightning Web Components ( LWC ) you can do that here. Due to Lightning Web … Continue reading Use Static Resource In Lightning Web Component

Advertisements

Custom Toast Component in Lightning

Lightning and Lightning Web Components LWC Cover Image

In Lightning we can use show toast event to show message to users. But they are not supported everywhere. So today we will create Custom Toast Component in Lightning. 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 … 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 (LWC). If you still don't have idea what they are then you should check my post in which I have explained Lightning Web Component and also created few sample Lightning Web Component. Today we will check how we … Continue reading Get Current User Details in Lightning Web Components

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

Lightning Web Components: The New Development Style

Lightning and Lightning Web Components LWC Cover Image

Lightning, Lightning, Lightning. If you are in Salesforce Eco system, then Lightning is the most common word you hear these days. Now we are coming to year end but Lightning is still going strong with lots of update and new feature. This week Salesforce introduce Lightning Web components (LWC). This is just not another update … Continue reading Lightning Web Components: The New Development Style

Lightning Data Service: Loading Data without Apex

We can use Lightning Data Service to load, create, edit, or delete a record in Lightning component without using Apex code. Lightning Data Service handles Sharing rules and all other security stuff for us. As we no longer need apex for basic operations so it improve overall performance of the system. Its a type of … Continue reading Lightning Data Service: Loading Data without Apex