Ankush Dureja

Author's posts

lightning-card LWC

lightning-card LWC (Lightning Web Component)

lightning-card LWC (Lightning Web Component) lightning-card LWC (Lightning Web Component) A lightning-card is used to apply a stylized container around a grouping of information. The information could be a single item or a group of items such as a related list. Use the variant or class attributes to customize the styling. A lightning-card contains a …

Continue reading

Permanent link to this article: https://www.sfdcpoint.com/salesforce/lightning-card-lwc/

Visual Studio Code Keyboard Shortcuts

Visual Studio Code Keyboard Shortcuts

Visual Studio Code Keyboard Shortcuts Visual Studio Code Keyboard Shortcuts Visual Studio Code is the go-to code editor for Salesforce developers. It’s free, open-source, and available for Windows, Linux, and macOS. This editor has easy-to-install extensions for syntax highlighting, code completion, and more. Visual Studio Code can be used with many programming languages. Here in …

Continue reading

Permanent link to this article: https://www.sfdcpoint.com/salesforce/visual-studio-code-keyboard-shortcuts/

File Upload in Lightning Web Component(lwc)

File Upload in Lightning Web Component

File Upload in Lightning Web Component(lwc) File Upload in Lightning Web Component(lwc) lightning-file-upload component provides an easy and integrated way for users to upload multiple files. The file uploader includes drag-and-drop functionality and filtering by file types. File uploads are always associated to a record, so the record-id attribute is required. Uploaded files are available …

Continue reading

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

Decorators in Lightning Web Component(LWC)

Decorators in Lightning Web Component(LWC) Decorators in Lightning Web Component(LWC) The Lightning Web Components programming model has three decorators that add functionality to property or function. Decorators dynamically alter the functionality of a property or function. The ability to create decorators is part of ECMAScript, but these three decorators are unique to Lightning Web Components. …

Continue reading

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

Get Record Id in Lightning Component

Get Record Id in Lightning Component

Get Record Id in Lightning Component Get Record Id in Lightning Component using  force:hasRecordId Getting current record id in lightning component or lightning aura component is very easy. We need to add force:hasRecordId interface to a Lightning component to enable the component to be assigned the ID of the current record. The current record ID …

Continue reading

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

Salesforce Summer 20 Release Date

Salesforce Summer 20 Release Date Here’s the new Summer 20 release schedule: Sandbox preview: May 29-30, 2020 Summer ’20 Production release First Release window: June 12 Second Release window: July 10 Third Release window: July 17-18, 2020   On March 16, 2020, our CEO Marc Benioff shared an update regarding our response to COVID-19 and …

Continue reading

Permanent link to this article: https://www.sfdcpoint.com/salesforce/salesforce-summer-20-release-date/

Use Lightning Web Components in Visualforce

Use Lightning Web Components in Visualforce

Use Lightning Web Components in Visualforce Use Lightning Web Components in Visualforce In this post, we will see how we can use LWC in Visualforce Pages or how to display Lightning Web Component In Visualforce Page. Even though the use of lightning is growing day by day, still some customers are using salesforce classic because …

Continue reading

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

Use Static Resource In LWC(Lightning Web Component)

Create static resource

Use Static Resource In LWC(Lightning Web Component) Static Resource In LWC First, Import static resources from the @salesforce/resourceUrl scoped module. Static resources can be archives (such as .zip and .jar files), images, style sheets, JavaScript, and other files. The syntax for importing static resource in LWC When static resource has namespace myResource—A name that refers …

Continue reading

Permanent link to this article: https://www.sfdcpoint.com/salesforce/use-static-resource-in-lwc/

Salesforce Summer ’20 Release Notes

Attach .csv Files to Report Subscriptions

Salesforce Summer ’20 Release Notes All you need to know about Salesforce Summer ’20 Release Notes Salesforce Summer ’20 Release Notes: I hope everyone is safe and taking all the care to cross the hurdle of Covid-19. I am sure you have started enjoying the quarantine time with family and friends trying to have fun as …

Continue reading

Permanent link to this article: https://www.sfdcpoint.com/salesforce/salesforce-summer-20-release-notes/

Wrapper Class in LWC(Lightning Web Component)

Wrapper Class in LWC

Wrapper Class in LWC(Lightning Web Component) Wrapper Class in LWC Lightning Web Component 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 …

Continue reading

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