Again, Why Salesforce

Wiki

What is a Tab?

Article from Tab-Info/What-is-a-Tab.md

Introduction

A Tab or a "Favourite Tab" is the core part of this extension. It enables you to move faster between various Salesforce Setup pages without having to manually search everytime.

Tabs are shown inside Salesforce Setup page, next to Home and Object Manager, directly below the Search Setup search bar.

To read about how to Save a Tab, please read this article.

To read about how to Sort your Tabs, please read this article.

Definition

A Tab is a JSON with 3 specific properties: Label, Url, and Org.

Plus 2 metadata properties: Click Count and Click Date which are used for sorting.

Label

This is the name of the Tab which you use to quickly recall where a Tab points to. You may write anything as a Label (and you may even use Emojis).

Example

  • Flows
  • Email-to-Case
  • Wiki I love

Url

This contitues the link to where the Tab will send you to. This is a special kind of Url since it does not include the domain when pointing to a Salesforce page nor does it include the /lightning/setup/ string when pointing to a Salesforce Setup page.

Example

  • /lightning
  • /lightning/app/standard__FlowsApp
  • EmailToCase/home
  • https://www.wikipedia.org/wiki/Salesforce

Org

This is an optional property which allows you to segregate a Tab to only a particular Org. Valid values include the host prefix from your Salesforce Org link before .my.salesforce-setup.com, .my.salesforce.com, or .lightning.force.com (not including https://www. which is taken for granted).

Tabs which have this property filled in are known as org-specific Tabs.

Example

  • myproductionorg
  • mydevorg--sandbox
  • [no value]

Click Count

This is a metadata property which counts up every time you click on a particular Tab from the Salesforce Setup page.

You will never have to update this number manually.

Click Date

This is a metadata property which is set to the date (from Date.now()) of the last time you clicked on a particular Tab from the Salesforce Setup page.

You will never have to update this date manually.

Example

A Tab is any of these values:

{
    label: "Flows",
    url: "/lightning/app/standard__FlowsApp"
},
{
    label: "Email-to-Case",
    url: "EmailToCase/home"
},
{
    label: "Queues",
    url: "Queues/home",
    org: "myproductionorg"
},
{
    label: "Wiki",
    url: "https://www.wikipedia.org/wiki/Salesforce",
},
{
    label: "Classic",
    url: "/ltng/switcher?destination=classic&referrer=%2Flightning%2Fsetup%2FSetupOneHome%2Fhome",
},
{
    label: "Case",
    url: "ObjectManager/Case/FieldsAndRelationships/view",
    org: "mysandboxorg--customname.sandbox"
},
{
    label: "Flows",
    url: "/lightning/app/standard__FlowsApp",
    "click-count": 4,
    "click-date": 1760969902488
},
Last Updated at: v2.2.5