Newer Version Available

This content describes an older version of this product. View Latest

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

Fields

Field Name Details
Name
Type
string
Properties
Create, Filter, Group
Description
The tab’s API name. For standard tabs, the name is in the form “standard-Account”. For custom tabs, it’s the developer name.
ParentId
Type
reference
Properties
Create, Filter, Group
Description
The ID of the permission set to which this tab setting belongs. For profile tab settings, ParentId is the ID of the permission set owned by the profile.
Visibility
Type
picklist
Properties
Create, Filter, Group, Restricted picklist
Description
The default visibility setting for this tab. Valid values are:
  • Default Off
  • Default On

There’s no hidden value. Instead, a hidden tab is indicated by having no PermissionSetTabSetting row in the database.

Note

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.