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

Advertisements

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

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. This is just not another update this … Continue reading Lightning Web Components: The New Development Style

Lightning Model: Generic Model Component

Lightning and Lightning Web Components LWC Cover Image

Model is a very useful component. Modals display a dialog in the foreground of the app, interrupting a user’s workflow and drawing attention to the message. A modal blocks everything else on the page until it’s dismissed. A modal must be acknowledged before a user regains control over the app again. Today We will create … Continue reading Lightning Model: Generic Model Component

Lightning Global Search Component

Previously I have shared a search/Lookup component.  But using that we can only search one object at a time. So today I am sharing a global search component. Using this we can search on multiple objects.   https://gist.github.com/tushar30/230acd37cb064c75c1e6a03b9e0159d1 Here we are getting value when user change input. Currently it select few standard object and custom object, … Continue reading Lightning Global Search Component