LWC EXCHANGE – SCENARIO 10 : sanketthoughts

by: sanketthoughts
blow post content copied from  Salesforce Diaries
click here to view original post

Use Custom Labels in LWC

This scenario has been designed for developer who possess Intermediate skills in Lightning Web Component.

Problem Statement

  • Create 10 different custom labels in Salesforce
  • Create a Lightning Web Component
  • Add a label.js file in it
  • import all the 10 custom labels in it and export it so that it can be used at other places
  • import the label.js file in main js file of the lightning web component
  • display as list of label values in html file

Do you need help?

Are you stuck while working on this requirement? Do you want to get review of your solution? Now, you can book dedicated 1:1 with me on Lightning Web Component completely free.


Schedule a 1:1 Meeting with me

Also check out https://salesforcediaries.com/category/lightning-web-com

The post LWC EXCHANGE – SCENARIO 10 appeared first on Salesforce Diaries.

May 28, 2023 at 10:38PM
Click here for more details...

The original post is available in Salesforce Diaries by sanketthoughts
this post has been published as it is through automation. Automation script brings all the top bloggers post under a single umbrella.
The purpose of this blog, Follow the top Salesforce bloggers and collect all blogs in a single place through automation.