Posts

Your own Modal Popup in Lightning Experience using lightning:overlayLibrary

Image
                                   lightning:overlayLibrary   Now the days are gone when you use slds to create your own custom modal. In the Salesforce Winter’18 release, Salesforce has provided us with a component called lightning:overlayLibrary, which we can use to easily create Modals. This Component enables us to displays messages via modals and popovers. This component requires API version 41.0 and later. 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. A modal is triggered by user interaction, which can be a click of a button or link. The modal header, body, and footer are customizable. Pressing the Escape key or clicking the close button closes the modal. Here we will create a Custom component which can override a standard new button on the Contact object and open a form to create ...