Skip to content

Component cannot be added to a Custom Tab in Salesforce #4

@mrbiotech

Description

@mrbiotech

When attempting to add this component to a Custom Tab, as per these instructions from Salesforce, the component is not available to add to a tab.

Luckily, the solution is really easy! It just entails adding an additional <target> object within componentName.js-meta.xml. I've tested independently and supplied the change via PR #3 .

References

  1. Salesforce Docs: Add Lightning Components as Custom Tabs in a Lightning App
  2. Lightning Web Components Developer Guide: Configure Components for Custom Tabs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions