Category: Lightning Web Component

Best Practices for Lightning Web Components

Lightning Web Components (LWC) is a new programming model for building modern, scalable, and high-performance web applications on the Salesforce platform. LWC is based on modern web standards and provides a developer-friendly experience for building reusable components that can be shared across an organization. In this blog post, I will explore some best practices for building lightning web components and how to leverage the LWC programming model to build efficient and maintainable applications. You can read – Apex Programming Best Practices Salesforce Flow Best Practices Use Modules for Reusibility One of the best practices for building Lightning Web Components...

Read More

Kitchener Canada Developer Group Event: Using Styling Hooks to Customize Your LWC by Kirupa Chinnathambi

Special thanks to our speaker, Kirupa Chinnathambi, for the session on “Using Styling Hooks to Customize Your LWC”.You can register for all the upcoming sessions from the Kitchener Developer Group here.You can get details (presentation and recording) of all the earlier sessions from the Kitchener Developer Group here.Presentation: Using Styling Hooks to Customize Your LWC from Sudipta Deb ☁...

Read More

Kitchener Developer Group brings Virtual Learning in March 2021

 “Live as if you were to die tomorrow. Learn as if you were to live forever” by Mahatma Gandhi.Why not develop a passion for learning in March? Kitchener, CA Developer group is happy to bring three virtual sessions in March 2021. Below you will find all the details of the sessions. Please RSVP.Session 1Title:  Using Styling Hooks to Customize Your LWCDate & Time: Thursday, March 11, 2021, 2:00 PM ESTSpeaker: Kirupa Chinnathambi, Senior Director of Product/UX at SalesforceRSVP: HereSession 2Title:  Let’s Learn About Heroku and How to Integrate with SalesforceDate & Time: Thursday, March 18, 2021, 2:00 PM ESTSpeaker: Julian Duque, Lead Developer Advocate at SalesforceRSVP: HereSession 3Title:  Orchestrate ALL of your Salesforce Automation with the Trigger Action FrameworkDate & Time: Thursday March 25, 2021, 2:00 PM ESTSpeaker: Mitchell Spano, Application Engineer at GoogleRSVP: HereLooking forward to seeing you all at these awesome events.Note – Please check out this page to access the presentation and recording from all the previous events from Kitchener, CA Developer...

Read More

Kitchener Canada Developer Group Event: Shadow DOM, CSS and Styling Hooks in LWC by Alba Rivas

Special thanks to our speaker, Alba Rivas, for the session on “Shadow DOM, CSS and Styling Hooks in LWC”.Presentation: Shadow DOM, CSS and Styling Hooks in LWC what you need to know from Sudipta Deb ☁ Recording:Reference Links:SLDS Design TokensGithub Repo: shadow-domGithub Repo:...

Read More

How to restrict @AuraEnabled method access for Authenticated users

As we all know security is always the number 1 priority for Salesforce, so there is a critical update coming to all of our Salesforce environments. This will change the way we provide access to AuraEnabled Apex methods. From this post, you can expect -What problem this update is going to solve?When can we expect this update in our environments?Show me the problemShow me the solution(s)Show me all the places where I need to make this changeWhat problem this update is going to solve?When we write our Lightning Component or Lightning Web Component today, for any type of server operation, we write Apex classes and annotate the method with @AuraEnabled. We don’t have an option today to restrict the access to our AuraEnabled methods today. That is why Salesforce came up with this important critical update where you need to specify who can access your AuraEnabled methods. I will explain this update with one example later in this post.When can we expect this update in our environments?This update “Restrict @AuraEnabled Apex methods to authenticated users” came as part of Salesforce’s Winter ’20 release. Enforcement will start on August 9th, 2020.Show me the problemLet’s say we have this below Lightning Web Component where we pass a string to the AuraEnable controller class and then class return list of Contacts. Finally component is going to display the list of contacts. Below is the...

Read More
Loading

Earlier Posts

  • 2024 (32)
  • 2023 (47)
  • 2022 (25)
  • 2021 (35)
  • 2020 (41)
  • 2019 (13)
  • 2018 (16)
  • 2017 (14)
  • 2016 (18)
  • 2015 (74)
  • 2014 (20)