Category: salesforce

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/

System Mode and User Mode in Salesforce

System Mode and User Mode in Salesforce

System Mode and User Mode in Salesforce System Mode and User Mode in Salesforce System mode means running apex code by ignoring user’s permissions. User mode means running apex code by respecting user’s permissions and sharing of records. Let’s understand it in more detail. System Mode System mode means running apex code by ignoring user’s …

Continue reading

Permanent link to this article: https://www.sfdcpoint.com/salesforce/system-mode-and-user-mode-in-salesforce/

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/

Navigation Service in LWC(Lightning Web Components)

Navigation Service in LWC

Navigation Service in LWC(Lightning Web Components) Navigation Service in LWC(Lightning Web Components) To navigate in Lightning Experience, Lightning Communities, and the Salesforce app, use the navigation service, lightning/navigation. The lightning/navigation service is supported only in Lightning Experience, Lightning Communities, and the Salesforce app. It isn’t supported in other containers, such as Lightning Components for Visualforce, or …

Continue reading

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

for:each template directives in LWC

for each template directives in LWC

for:each template directives in LWC for:each template directives in LWC(Lightning Web Component) To render a list of items, use for:each directive or the iterator directive to iterate over an array. Add the directive to a nested <template> tag that encloses the HTML elements you want to repeat. We can call it for loop in LWC. …

Continue reading

Permanent link to this article: https://www.sfdcpoint.com/salesforce/foreach-template-directives-in-lwc/