UserInterfaceSettings
Represents the settings that modify the behavior of the org’s user interface.
This type extends Metadata and inherits its fields.
In the package manifest, all organization settings metadata types are accessed using the Settings name. See Settings for details.
A UserInterfaceSettings component file has the suffix .settings and is stored in the settings directory. The .settings files are different from other named components because there’s only one settings file for each settings component.
Introduced in API version 46.0.
- Type: boolean
- Required: No
- Type: boolean
- Required: No
- Introduced: API version 52.0
- Description: Indicates whether users can create custom actions for their Recently Viewed lists (
true) or not (false). The default istrue. Applies to Lightning Experience only.
- Type: boolean
- Required: No
- Introduced: API version 47.0
- Description: Indicates whether related lists are loaded asynchronously (
true) or not (false). The default isfalse. Salesforce Classic only.
- Type: boolean
- Required: No
- Description: Indicates whether a Visualforce page that hides the standard header has clickjack protections (
true) or not (false). The default istrue. This setting applies to all of your Visualforce pages.
- Type: boolean
- Required: No
- Description: Indicates whether users are allowed to collapse or expand sections in record details by using the arrow icon next to the section heading. The default is
true.
- Type: boolean
- Required: No
- Description: Indicates whether users are allowed to show or hide the sidebar on every page that normally includes it (
true) or not (false). The default isfalse. Applies to Salesforce Classic only.
- Type: boolean
- Required: No
- Description: Indicates whether custom sidebar components are available on all pages for all org users (
true) or not (false). The default isfalse. Applies to Salesforce Classic only.
- Type: boolean
- Required: No
- Introduced: API version 47.0
- Description: Indicates whether users with Customize Application permission can truncate custom objects (
true) or not (false). When you truncate an object, you delete the object’s associated records permanently, while preserving the empty object and its metadata. The default isfalse.
- Type: boolean
- Required: No
- Introduced: API version 47.0
- Description: Indicates whether users can delete field history and field history archive records (
true) or not (false). The default isfalse.
- Type: boolean
- Required: No
- Type: boolean
- Required: No
- Introduced: API version 48.0
- Description: Indicates whether related lists of external objects are loaded asynchronously (
true) or not (false). The default istrue. Salesforce Classic only.
- Type: boolean
- Required: No
- Description: Indicates whether an interactive overlay containing record details is displayed (
true) or not (false). The default istrue.
To view hover details for a record, users need the appropriate sharing access and field-level security access for the fields in the mini page layout.
- Type: boolean
- Required: No
- Description: Indicates whether users are allowed to edit field values on a record’s detail page (
true) or not (false). The default istrue.
- Type: boolean
- Required: No
- Type: boolean
- Required: No
- Type: boolean
- Required: No
- Description: Indicates whether users can install and use personal canvas apps
(true)or not(false). The default istrue. This setting applies to all of your Visualforce pages.
- Type: boolean
- Required: No
- Type: boolean
- Required: No
- Type: boolean
- Required: No
- Description: Indicates whether an area displays on a tab home page (corresponds to the Show Quick Create setting), allowing users to create a record quickly with minimal information (
true) or not (false). The Quick Create area displays by default on the tab home pages for leads, accounts, contacts, and opportunities. You can control whether the Quick Create area is displayed on all relevant tab home pages.
- Type: boolean
- Required: No
- Type: boolean
- Required: No
- Introduced: API version 50.0
- Description: Indicates whether related list hover links display at the top of record detail pages and custom object detail pages in Setup (
true) or not (false). Users can hover over a related list link to display the list and its number of records in an interactive overlay. Users quickly view and manage the related list items from the overlay. Users can also click a related list hover link to jump to the related list without having to scroll down the page. The default istrue.
- Type: boolean
- Required: No
- Introduced: API version 65.0
- Description: Indicates whether individual users can enable dark mode (
true) or not (false) for the Salesforce Cosmos theme. The default value isfalse. Available for SLDS 2 themes in select editions. See Salesforce Cosmos Theme and SLDS 2 Availability.
- Type: boolean
- Required: No
- Type: boolean
- Required: No
- Type: boolean
- Required: No
- Type: boolean
- Required: No
- Type: boolean
- Required: No
- Type: boolean
- Required: No
- Introduced: API version 68.0
- Description: Indicates whether users can inline edit any field they have edit access to in list views, regardless of page layout restrictions (
true) or not (false). The default isfalse. Applies to Lightning Experience only.
- Type: boolean
- Required: No
- Introduced: API version 68.0
- Description: Indicates whether users can inline edit fields in list views that contain records of more than one record type (
true) or not (false). The default isfalse. Applies to Lightning Experience only. Inline editing with multiple record types applies to list views rendered with Lightning Web Components (LWC).
- Type: boolean
- Required: No
- Type: boolean
- Required: No
- Introduced: API version 63.0
- Description: Indicates whether users can sort list views by multiple columns (
true) or not (false). The default istrue.
- Type: boolean
- Required: No
- Introduced: API version 63.0
- Description: Indicates whether users can sort related lists by multiple columns (
true) or not (false). The default istrue.
- Type: boolean
- Required: No
The following is an example of a UserInterfaceSettings component.
The following is an example package manifest used to deploy or retrieve the user interface settings metadata for an organization:
The wildcard character * (asterisk) in the package.xml manifest file doesn’t apply to metadata types for feature settings. The wildcard applies only when retrieving all settings, not for an individual setting. For details, see Settings. For information about using the manifest file, see Deploying and Retrieving Metadata with the Zip File.