Tag: lightning component

lightning:recordForm Example

lightningrecordForm Example Create Record

lightning:recordForm Example lightning:recordForm Example lightning aura component lightning:recordForm component allows you to quickly create forms to add, view, or update a record. Using this component to create record forms is easier than building forms manually with lightning:recordEditForm or lightning:recordViewForm. The lightning:recordForm component provides these helpful features: Switches between view and edit modes automatically when the user …

Continue reading

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

Lightning Web Component(LWC) Toast Messages

Lightning Web component(LWC) Toast Messages

Lightning Web Component(LWC) Toast Messages LWC Toast Messages Lightning Web component(LWC) can send a toast notification that pops up to alert users of success, error or warning. A toast can also simply provide information. To display a toast notification in Lightning Experience or Lightning communities, import ShowToastEvent from the lightning/platformShowToastEvent module. We can dispatch this …

Continue reading

Permanent link to this article: https://www.sfdcpoint.com/salesforce/lightning-web-component-lwc-toast-messages/

Custom Labels In Lightning Aura Component

Custom Labels In Lightning Aura Component

Custom Labels In Lightning Aura Component Custom Labels In Lightning Aura Component Custom labels are custom text values that can be accessed from  Aura Component, LWC Component, Apex classes, Visualforce pages. The values can be translated into any language Salesforce supports. Custom labels enable developers to create multilingual applications by automatically presenting information (for example, …

Continue reading

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

Call Apex Methods In Lightning web components

Call Apex Methods In LWC Imperative Method

Call Apex Methods In Lightning web components Lightning web components can import methods from Apex classes into the JavaScript classes. Once after importing the apex class method you can able call the apex methods as functions into the component by calling either via the wire service or imperatively. The Apex Method should be marked with …

Continue reading

Permanent link to this article: https://www.sfdcpoint.com/salesforce/call-apex-methods-in-lightning-web-components/

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/

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/