Last Updated on May 30, 2024 by Rakesh Gupta
Big Idea or Enduring Question:
-
How do you show or hide tabs in Lightning App Builder based on requirements?
Objectives:
After reading this blog, you’ll be able to:
- Understand tab visibility
- Set up tab visibility in Lightning App Builder
- And much more
Business Use case
Warren Mason is a System Administrator at Gurukul on Cloud (GoC). At GoC, multiple business units are using Salesforce to manage their sales processes. To keep the configuration simple, they are using only one Lightning page.
Warren learned that after the Summer ’24 release, Salesforce will allow administrators to set component visibility for tabs. He wants to use this feature to fulfill a long-standing customer request to hide the Quip tab when the Account Industry equals Government.
Automation Champion Approach (I-do):
After the Summer ’24 release, it is now possible to set component visibility for tabs. Tab visibility is similar to component visibility in that it allows administrators to control the display of individual tabs on a Lightning page based on specific criteria or conditions. This feature enhances the customization and dynamic nature of user interfaces within Salesforce, enabling the tailoring of information and tools according to the needs of different users or business scenarios.
Administrators can use tab visibility settings to establish rules based on field values, user attributes, record data, and other specific conditions. For example, a tab might be visible only to users in a particular role or profile, or it might appear only when a field on a record meets a certain condition, such as displaying a special discount field only when the account type is “Customer.”
This capability is especially useful for creating streamlined and role-specific user experiences, reducing clutter, and ensuring that users see only the most relevant information and options based on their current context or task.
Follow the steps below to hide the Quip tab when the Account Industry equals Government.
- Navigate to Setup | Object Manager | Account | Lightning Record Pages and Edit the right page.
- From there, click on the Quip tab within the Tabs section.
- Then click on Quip tab property to configure the Component Visibility.

- Set Component Visibility
- Click Done.
- Click Done.
- Click Save.
- Click Activate.
Proof of Concept
- From now on, if the account industry is government, the Quip tab will be hidden on the Account Lightning Record Page.

- From now on, if the account industry is not government, the Quip tab will be visible on the Account Lightning Record Page.

Formative Assessment:
I want to hear from you!
What is one thing you learned from this post? How do you envision applying this new knowledge in the real world? Feel free to share in the comments below.



I am not able to Set Component Visibility in Full Copy Sandbox and Production.
There’s no option to put conditional visibility.
Wait for the Summer ’24 release to be available in your Salesforce org.
Maybe worth mentioning… “Dynamic Forms on Mobile” has to be enabled first!
This isn’t mentioned anywhere in the Release Notes nor in any of the regular Blogs, found it on the Trailblazer Community…
1. Go to Setup > Salesforce Mobile App > Enable Dynamic Forms on Mobile
2. Open/Refresh your LEX Record Page
3. Clic on the Tabs Component
4. Clic on the wished Tab Name, now you see the long awaited “Set Component Visibility” under the Tab Label
Cheers 🙂
Thank you for your comment and for pointing this out! You’re absolutely right that enabling “Dynamic Forms on Mobile” is a crucial step.