Export Data in CSV using JavaScript in Lightning

Lightning and Lightning Web Components LWC Cover Image

In Visualforce we can use ContentType to export data in different formats. But what if we want to do same in Lightning? There is no inbuilt native support provided for this. So today we will check how we can export data in CSV using JavaScript in Lightning. For this we will create a component in … Continue reading Export Data in CSV using JavaScript in Lightning

Lightning Web Components: Datatable with Lazy loading, Inline Edit and Dynamic Row Action

Lightning and Lightning Web Components LWC Cover Image

If you are following Salesforce eco system, and you are a developer then you are already aware of Lightning Web Components ( LWC ). If you left behind and don't know much about Lightning Web Component (LWC) then don't worry you can check my previous post and get the idea. I have added multiple post … Continue reading Lightning Web Components: Datatable with Lazy loading, Inline Edit and Dynamic Row Action

Use Static Resource In Lightning Web Components

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. Today we will check … Continue reading Use Static Resource In Lightning Web Components

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

Popup/Modal in Lightning Component

Lightning and Lightning Web Components LWC Cover Image

Modal 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 Popup/Modal in Lightning Component