Salesforce Development (LWC) : Creating a configurable Lightning Web Component using Custom Metadata

Опубликовано: 18 Март 2026
на канале: Coding With The Force
22,798
191

In this video tutorial we go over how to make a configurable lightning web component (LWC) that allows you to put external links in the utility bar of your lightning apps and open those links either in a new browser tab or Salesforce console tab.

Schedule Salesforce consulting time with me here: https://calendly.com/codingwiththefor...

Please consider donating to help continue to improve the content produced for Coding With The Force: https://www.paypal.com/donate?busines...

Get Coding With The Force Merch Here: https://my-store-d20559.creator-sprin...


Github repository with the code here: https://github.com/Coding-With-The-Fo...

For more information on this check out the blog post here: http://codingwiththeforce.com/salesfo...

Follow all of our social media here:

Patreon:   / codingwiththeforce  
Github: https://github.com/Coding-With-The-Force
Facebook:   / codingwiththeforce  
Twitter:   / coding_force  
Instagram:   / codingwiththeforce  

Salesforce development books I recommend:

Advanced Apex Programming: https://amzn.to/3lXi8to
Salesforce Lightning Platform Enterprise Architecture: https://amzn.to/2R0D4BQ
Mastering Salesforce DevOps: https://amzn.to/3lTtTRN

--------------------------------------------------------------------------------------------------------------------------------------------

Table of Contents:

0:00 - Intro
0:23 - Demo of what we're building
2:45 - Custom Metadata Setup
5:25 - Developing the basic utility bar links LWC
22:26 - Adding the LWC to the Utility Bar
24:28 - Debugging the LWC
26:53 - Adding functionality to open links in console tabs
34:33 - Creating a custom LWC event
37:41 - Using the NavigationMixin LWC module
41:40 - Creating the containing Aura Component to pop console tabs
44:37 - Handling the LWC event in the Aura Component
49:57 - Adding the containing Aura Component to the Utility Bar
52:20 - Outro

DISCLAIMER: The views and ideas expressed on this YouTube channel and blog are based on past development experiences and may not always work for your particular scenarios. The advice in these videos may also become outdated as technology advances. They should be used as examples for educational purposes only. Using any shown solutions in your own org is not advisable since they are example scenarios.

#salesforce #salesforcedeveloper #salesforceadmin