Tag: lightning

lightning-record-view-form

lightning-record-view-form A lightning-record-view-form component is a wrapper component that accepts a record ID and is used to display one or more fields and labels associated with that record using lightning-output-field. lightning-record-view-form requires a record ID to display the fields on the record. It doesn’t require additional Apex controllers or Lightning Data Service to display record …

Continue reading

Permanent link to this article: https://www.sfdcpoint.com/salesforce/lightning-record-view-form/

Get Record Id in Lightning Web Component

Get Record Id in Lightning Web Component Account Record

Get Record Id in Lightning Web Component Get Record Id in Lightning Web Component Getting current record id in lightning web component(lwc) is very easy. If a component with a recordId property is used on a Lightning record page, the page sets the property to the ID of the current record. In the component’s JavaScript …

Continue reading

Permanent link to this article: https://www.sfdcpoint.com/salesforce/get-record-id-in-lightning-web-component/

aura method in lightning salesforce

aura method in lightning salesforce

aura method in lightning salesforce aura method in lightning salesforce Use aura:method to define a method as part of a component’s API. This enables you to directly call a method in a component’s client-side controller instead of firing and handling a component event. Using aura:method simplifies the code needed for a parent component to call a method …

Continue reading

Permanent link to this article: https://www.sfdcpoint.com/salesforce/aura-method-in-lightning-salesforce/

Modal/Popup Lightning Component Salesforce

Modal Popup Lightning Component Salesforce

Modal/Popup Lightning Component Salesforce Modal/Popup Lightning Component Salesforce In this post, We will simply create a custom Lightning Modal/Popup Box in the salesforce lightning component. What is Modal in Salesforce Lightning Experience ? Modals/Popup Box are used to display content in a layer above the app. This paradigm is used in cases such as the creation or …

Continue reading

Permanent link to this article: https://www.sfdcpoint.com/salesforce/modal-popup-lightning-component-salesforce/

Lightning Datatable example salesforce

Lightning Datatable example salesforce output

Lightning Datatable example salesforce Lightning Datatable example salesforce In this blog post, I am going to explain how to use salesforce lightning:datatable component and its features. A lightning:datatable component displays tabular data where each column can be displayed based on the data type. lightning:datatable also supports inline editing. lightning:datatable is not supported on mobile devices. …

Continue reading

Permanent link to this article: https://www.sfdcpoint.com/salesforce/lightning-datatable-example-salesforce/

Use Lightning Components in Visualforce Pages

Use Lightning Components in Visualforce Pages output

Use Lightning Components in Visualforce Pages Use Lightning Components in Visualforce Pages How To Display Lightning Component In Visualforce Page In this post, we will see how we can use Lightning Components in Visualforce Pages or how to display Lightning Component In Visualforce Page. Even though the use of lightning is growing day by day, …

Continue reading

Permanent link to this article: https://www.sfdcpoint.com/salesforce/use-lightning-components-in-visualforce-pages/

wrapper class in lightning component salesforce

wrapper class in lightning component salesforce output

wrapper class in lightning component salesforce wrapper class in lightning component salesforce A wrapper or container class is a class, a data structure, or an abstract data type which contains different objects or collection of objects as its members. In this post we will see how we can use wrapper class in lightning component to …

Continue reading

Permanent link to this article: https://www.sfdcpoint.com/salesforce/wrapper-class-in-lightning-component-salesforce/

Delete Lightning Component in Salesforce

Delete Lightning Component in Salesforce

Delete Lightning Component in Salesforce Delete Lightning Component in Salesforce is very easy. If we don’t want to use IDE like sublime or Eclipse then we can use developer console. Open Developer Console Open Your lightning component from File -> Open Lightning Resource Click on File Delete or use shortcut Ctrl+Delete   Salesforce Lightning Interview …

Continue reading

Permanent link to this article: https://www.sfdcpoint.com/salesforce/delete-lightning-component-in-salesforce/

Loading spinner in lightning component

Loading spinner in lightning component

Loading spinner in lightning component What is Lightning Spinner? Loading spinner in lightning component Spinners are CSS loading indicators that should be shown when retrieving data or performing slow computations. lightning:spinner displays an animated spinner image to indicate that a request is loading. This component can be used when retrieving data or performing an operation that …

Continue reading

Permanent link to this article: https://www.sfdcpoint.com/salesforce/loading-spinner-in-lightning-component/