March 2020 archive

Lightning Web Component lightning-datatable

Lightning Web Component lightning datatable

Lightning Web Component lightning-datatable Lightning Web Component lightning-datatable in lwc lightning-datatable component displays tabular data for list of records. lightning-datatable component supports inline editing, which enables you to update a field value without navigating to the record. We cab display each column based on the data type. Lightning Web Component Datatable example Lets create lightning …

Continue reading

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

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/

Data Skew Salesforce

Data Skew Salesforce

Data Skew Salesforce What is data skew in Salesforce? Data skew in Salesforce happens when large number of child records (more then 10k) are linked to one parent records. Type of Data skew There are 3 types of data skew in salesforce: Account data skew Ownership skew Lookup Skew Account data skew: Certain Salesforce objects, …

Continue reading

Permanent link to this article: https://www.sfdcpoint.com/salesforce/data-skew-salesforce/

Record Types in Salesforce

Record Types in Salesforce

Record Types in Salesforce Record Types in Salesforce Record types in Salesforce allow you to have different business processes, picklist values, and page layouts to different users based on profile. You might create record types to differentiate your regular sales deals from your professional services engagements, offering different picklist values for each. Record types in …

Continue reading

Permanent link to this article: https://www.sfdcpoint.com/salesforce/record-types-in-salesforce/