Is there a way to show/hide a tab on a per user basis? I would like to manage this with Apex, but examples of managing this from the UI would also be helpful.
Attribution to: edgartheunready
Possible Suggestion/Solution #1
Building on amatorVitae's answer, there is also the possibility of using PermissionSets that can hold tab setting just like a Profile (and use very similar UI). The difference is that while a User can only have one Profile, they can have multiple PermissionSets added. So PermissionSets can sometimes be a better way of adding functionality, essentially allowing it to be "mixed-in" per User.
This chopped down User details view shows how zero or more PermissionSets can be added in without changing the Profile:
Attribution to: Keith C
Possible Suggestion/Solution #2
You can choose which tabs to show/hide per profile. To do this, go into any Profile
and (if using the Enhanced UI) go to Object Settings
. Then in each Object
, you can choose Tab Settings
.
Attribution to: Scott Pelak
This content is remixed from stackoverflow or stackexchange. Please visit https://salesforce.stackexchange.com/questions/30382