function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Chris Ciszak 3Chris Ciszak 3 

Hide Visualforce Page Tab in Lightning Experience

We have created a custom Lightning app together Lightning Component Tab. As the tab was only visible in Lightning Experience and we need it to be visible in Classic, we created a custom VisualForce page that referenced our Lightning app. After adding the VF page tab to the menu, it appears correctly in Classic. However, now in Lightning Experience it shows up twice! Once for the VF Page Tab and once for Lightning Component Tab.

This is obviously wrong. I have unchecked ''Available for Salesforce mobile apps and Lightning Pages" tickbox on Visualforce Page.
User-added image

How to hide VF Tab from Lightning so it's not being duplicated in Lightning but still shows in Classic?

PS. We don't really want to remove the Lightning Component Tab as it loads faster.


Did you figure out a solution for this yet?
Chris Ciszak 3Chris Ciszak 3
Unfortunately, still not workaround, it should really be fixed by the Salesforce team. In the meantime, we are using VF tab as it's available in both Classic and LEX. Obviously, this is not perfect as we are losing some standard LEX features.
Satya Ranjan MohantySatya Ranjan Mohanty
Can we Hide VF page in lightning layout?