For Salesforce Experience Cloud. Learn, Demo & Build Great LWR Sites. Get detailed information about components on the page.

Latest Version

Version
1.2.0
Update
May 21, 2024
Size
45.12KiB
Developer
Category
Users
385
Rating
5 ★
Manifest Version
3
Web Store Status
Languages Support
English (United States)
See more
Permissions
DeclarativeContent
See more

Lightning Web Runtime (LWR) Build Info Extension

Easily understand how a Salesforce Lightning Web Runtime live site was built!

After the LWR site's page loads, open the extension to get started. The extension popup UI will allow you to add and remove a clickable badge for each Experience Builder component on the live site page.

Clicking on a badge displays the following information about the component:
- Display Name in Experience Builder
- Description of usage
- Component Type
- Tag Name
- Unique Selector for CSS
- Display Styles (Margin and Padding) when set on the Experience Builder component.
- Display CSS Classes set on the Experience Builder Component.
- Display All Custom Properties as they are declared and their current value in context.
- Beyond everything above, Clicking on the Theme and Section component badges will display the dxp Styling Hook values with mapping to the standard Theme Panel Property names.

Try it on a live LWR demo site: https://capricornhealth.sfdxp.com
--Supports unpublished sites viewed from Experience Builder Preview as well!

--Permissions Information--
When you add this extension, you will be prompted that it can “Read and change all your data on all websites”. This permission is needed because a Salesforce Experience Cloud site can exist on any Custom Domain. All data required to run this extension is self contained and there is no server communication or logging of any kind. This app will check if the web page contains the HTML tag webruntime-app for the purpose of detecting if it is an LWR site. If true, the page will only be read and changed once extension popup buttons have been clicked. This scope is to process and provide information about components on the page. All code is open-source for review.
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 3, "name": "Lightning Web Runtime (LWR) Build Info", "description": "For Salesforce Experience Cloud. Learn, Demo & Build Great LWR Sites. Get detailed information about components on the page.", "author": "Craig Johnson", "version": "1.2.0", "icons": { "16": "logo/logo-16.png", "32": "logo/logo-32.png", "48": "logo/logo-48.png", "128": "logo/logo-128.png" }, "action": { "default_title": "LWR Build Info", "default_popup": "popup/popup.html" }, "permissions": ["declarativeContent"], "host_permissions": [ "*://*/*" ], "background": { "service_worker": "service-worker.js" }, "content_scripts": [{ "run_at": "document_end", "js": ["foreground.js"], "css": ["foreground.css"], "matches": [ "https://*/*", "http://*/*" ] }]}
Read more

How to download and manually install Lightning Web Runtime (LWR) Build Info extension for Chrome

Looking for a way to install Lightning Web Runtime (LWR) Build Info extensions for Chrome, you can search for them in the Chrome Web Store, clicking the "Add to Chrome" button, and following the straightforward process.

However, you may need to install Lightning Web Runtime (LWR) Build Info extensions manually, this article outlines two simple methods to effortlessly install Lightning Web Runtime (LWR) Build Info extensions, whether they come as unpacked folders in compressed formats like .zip or as .crx files.

Method 1: Download Lightning Web Runtime (LWR) Build Info extension and manually install through Drag &Drop

If you ever need to manually install a Lightning Web Runtime (LWR) Build Info extension for Chrome, don't worry, it's a simple process. Just follow these easy steps, and you will have your extension ready to use in no time.

Step 1: Download the Lightning Web Runtime (LWR) Build Info Extension by clicking the "Download CRX" button on the website.

Look for the Lightning Web Runtime (LWR) Build Info extension you wish to install. Go to the website and download the Lightning Web Runtime (LWR) Build Info extension package, which is usually a .CRX file and comes in a zipped file. Here ".crx" file is the format for Lightning Web Runtime (LWR) Build Info extension that contains all the data.

Step 2: Extract &Arrange Files

Once the file is downloaded, extract that file into its own folder. Similarly, give that extension files a permanent home. In other words, keep it in a folder that you don't accidentally delete it because these files will be needed to make that extension work.

Step 3: Go to the Chrome Extensions Page

Open Google Chrome and in the address bar, type chrome://extensions; it will open the Google Chrome extensions page. Make sure that "My extensions" is selected in the sidebar.

Step 4: Drag and Drop the Extension

Now, go to the folder where you extracted the Lightning Web Runtime (LWR) Build Info extension and drag &drop the extension file from there anywhere onto the extension page within Google Chrome.

Step 5: Complete the Installation

Once you drag and drop the extension file, follow the steps that Google Chrome takes you through. Similarly, if the extension file is of .crx file format, you will be required to review the permissions and then add the extension.

Now, you can manage that added extension as you would like to with any other Chrome extension that you added through Chrome Webstore. Its icon will also appear in the Google Chrome Menu on the right side of the address bar once you activate it.

Method 2: Download Lightning Web Runtime (LWR) Build Info extension for Chrome and install in Developer Mode

This is another method to install Lightning Web Runtime (LWR) Build Info extension manually, but the twist is that here, you install by enabling the developer mode option provided in Google Chrome. This mode is commonly used for testing extensions or running unpublished tools.

Step 1: Download the Lightning Web Runtime (LWR) Build Info extension file

Select and download the Lightning Web Runtime (LWR) Build Info extension by clicking the 'Download CRX' button on the website.

Step 2: Extract the downloaded contents

Convert the file to a ZIP file if it is in CRX format then extract the Lightning Web Runtime (LWR) Build Info extension zip file or folder that you downloaded. Make sure you extract it using the same folder name and keep it safely in another folder, so you don't delete it by mistake. The extracted folder will be needed to keep your Lightning Web Runtime (LWR) Build Info extension running.

Step 3: Open Chrome Extension Setting Page

In the address bar of Google Chrome, type chrome://extensions and open the Chrome Extension Page.

Step 4: Enable Developer Mode

After opening the Chrome Extension page, look at the top right side, and you will find the toggle option of "Developer mode."Simply enable that developer mode option.

Step 5: Load the Unpacked Extension

Once you enable the developer mode option, you will see the menu of Load Unpacked, Pack Extensions and Update. From that, select the option "Load unpacked."

Step 6: Select the Extension Folder

Once the pop-up opens upon clicking Load unpacked, select the Lightning Web Runtime (LWR) Build Info extension directory and click on the "Select Folder "button.

Step 7: Confirm and Install

After you select an extension folder of a Google Chrome extension you're installing manually, confirm its installation for the final time and let the installation complete.

Conclusion

Here we've made a step-by-step guide on How to manually install Lightning Web Runtime (LWR) Build Info extension in 2 ways. We hope this guide proves helpful.

Similar Extensions

icon

Salesforce Assistant Extension · Developer Tools 385 12 ★ 11.96MiB

icon

UTAM Extension · Developer Tools 385 3 ★ 351KiB

icon

Salesforce Change Set Helper Extension · Productivity 385 59 ★ 1.51MiB

icon

Salesforce inspector Extension · Developer Tools 385 330 ★ 422KiB

icon

Salesforce Page Optimizer Extension · Developer Tools 385 17 ★ 2.26MiB

icon

Salesforce Colored Favicons Extension · Productivity 385 97 ★ 13.41KiB

icon

Lightning Studio Extension · Developer Tools 385 266 ★ 27.88MiB

icon

Salesforce Inspector Reloaded Extension · Developer Tools 385 153 ★ 1.01MiB

icon

Salesforce advanced Code searcher Extension · Developer Tools 385 183 ★ 21.36MiB

icon

Salesforce Lightning Inspector Extension · Developer Tools 385 48 ★ 8.72MiB

icon

Salesforce Tool Suite Extension · Developer Tools 385 103 ★ 4.66MiB

icon

Apex Debugger Extension · Developer Tools 385 30 ★ 881KiB

icon

ORGanizer for Salesforce Extension · Developer Tools 385 244 ★ 1.44MiB

icon

Salesforce DevTools Extension · Developer Tools 385 48 ★ 4.6MiB

icon

Salesforce Logins by Synebo Extension · Productivity 385 88 ★ 1.25MiB

icon

Salesforce Lightning Grid System Extension · Developer Tools 385 4 ★ 1.64MiB

icon

Salesforce Show Api Name Extension · Developer Tools 385 26 ★ 13.77KiB

icon

LWC ShadowPath Generator Extension · Developer Tools 385 6 ★ 29.1KiB

icon

Maven Tools for Salesforce Extension · Developer Tools 385 56 ★ 28.04MiB

icon

LWC Generator Extension · Developer Tools 385 0 ★ 6.24MiB

icon

Why Salesforce Extension · Developer Tools 385 38 ★ 253KiB

icon

Commerce Cloud Recommendation Validator Extension · Developer Tools 385 7 ★ 909KiB

icon

Salesforce.com Enhanced Formula Editor Extension · Developer Tools 385 59 ★ 440KiB

icon

Salesforce Admin Check All Extension · Productivity 385 75 ★ 40.4KiB

User reviews

icon

Austin Montgomery (ID: 00000038a76f4ec4) Voted 5 ★ - Updated 06/23/2023 Great tool for understanding build approaches and design patterns for Lightning Web Runtime!