Newer Version Available
PermissionSetTabSetting
Represents a tab’s settings for a profile or permission set. Use
PermissionSetTabSetting for manipulating tab visibility on profiles and permission
sets. Available in Tooling API version 37.0 and
later.
Supported SOAP Calls
create(), delete(), query(), retrieve(), update()
Supported REST HTTP Methods
Query, GET, POST, PATCH, DELETE
Special Access Rules
As of Spring ’20 and later, only users with View Setup and Configuration permission can access this object.
Fields
| Field Name | Details |
|---|---|
| Name |
|
| ParentId |
|
| Visibility |
|
Usage
To hide a tab, delete the associated PermissionSetTabSetting object. ParentId and Name fields can’t be updated.
This example creates a tab setting to make the custom object tab named CustomObject__c visible for the System
Administrator
profile.
This example updates the existing tab setting to make the Account tab available
instead of visible for the Standard User
profile.
The example deletes the existing tab setting to make the Account tab hidden for the Standard User profile.