Blogs

  • Update or change field values in the onsubmit event of lightning:recordeditform

    INTRODUCTION Occasionally, there may be a need to include or alter field values during the onsubmit event of lightning:recordeditform. In the following example, I am creating a record for the ‘Lead’ object using lightning:recordeditform, and within the onsubmit event, I am appending the ‘Description’ field value for the ‘Lead’ object. Aura Component: JavaScript controller:

    Read more…

  • Modal created using the Lightning OverlayLibrary

    Starting from Salesforce Spring ’18, the lightning:overlayLibrary tag was introduced to display messages using modals and popovers. This component requires API version 41.0 or later and is not supported in lightning applications. It is only supported in Salesforce Lightning Experience, Console, and Communities. In the following example, the components used are: Component – Sample JavaScript…

    Read more…

  • “Helptext” is not working properly in the Lighting Out feature

    The helpText in lightning out is not being displayed correctly due to a problem with Salesforce Lightning CSS. To ensure proper display of the helptext, you can utilize the provided styles in your Visualforce page. Style Sheets:

    Read more…