DocSF

DocSF

Did You Know?

Docy turns out that context is a key part of learning.

Make a new Tab for LWC Lightining Web Component in Salesforce

  1. Open -meta.xml file from your LWC component
  2. Change is exposed to True: <isExposed>true</isExposed>
  3. Add <target>lightning__Tab</target>
  4. Open Tab from setup and under Lightning Component Tabs press New and select your LWC component.

Your file xml at the end should look like this:

<?xml version="1.0" encoding="UTF-8"?>
<LightningComponentBundle xmlns="http://soap.sforce.com/2006/04/metadata">
    <apiVersion>47.0</apiVersion>
    <isExposed>true</isExposed>
    <targets>
        <target>lightning__Tab</target>
    </targets>
</LightningComponentBundle>

Related Post

Come accedere al cestino in Salesforce Lightn

Non è possibile accedere al cestino in Salesforce Ligh...

Salesforce: Stampa PDF di un pagina Visualfor

Approfondimento A Approfondimento B Approfondimen...

Salesforce SOQLLin Dynamic query where clause

Link 1 alla documentazione ufficiale Link 2 alla doc...

Leave a Comment