SearchCustomization
Represents the configuration of search settings created in Search Manager. The configuration includes the search channel, searchable objects and fields, and rules to filter search results.
Where possible, we changed noninclusive terms to align with our company value of Equality. We maintained certain terms to avoid any effect on customer implementations.
This type extends Metadata and inherits its fields.
SearchCustomization components have the suffix .searchCustomization and are stored in the searchCustomizations folder.
Introduced in API version 61.0.
Only users with the View Setup and Configuration permission can access this object, and only users with the Customize Application permission can edit it.
-
Type: string
-
Required: Yes
-
Description: Required.
The search channel that the configuration applies to.
-
Type: string
-
Required: Yes
-
Description: Required.
The name of the configuration.
- Type: SearchCustomizationObjectOverride[]
- Required: No
- Description: A list of object configurations.
- Type: string[]
- Required: No
- Description: A list of the objects that are always searched for the user profile if the search channel is Einstein Global Search Bar.
- Type: string
- Required: No
- Version: Removed in API version 62.0 and later.
- Description: Specifies user profile if the search channel is Einstein Global Search Bar.
- Type: string[]
- Required: No
- Description: A list of the objects that are selected in the configuration if the search channel is LWR Experience Sites.
- Type: string[]
- Required: No
- Introduced: API version 62.0
- Description: Specifies all user profiles that are associated with a Search configuration if the search channel is Einstein Global Search Bar.
- Type: string
- Required: No
- Type: string
- Required: Yes
Represents the configuration for a specific field within an object.
-
Type: string
-
Required: Yes
-
Description: Required.
The API name of the field that the configuration is applied to.
-
Type: boolean
-
Required: Yes
-
Description: Required.
Indicates whether the field is searchable (
true) or not (false).
Represents the configuration for a specific object.
- Type: SearchCustomizationExplicitFilter[]
- Required: No
- Type: SearchCustomizationFieldOverride[]
- Required: No
- Description: A list of field configurations.
-
Type: string
-
Required: Yes
-
Description: Required.
The API name of the object that the configuration is applied to.
- Type: SearchCustomizationRule[]
- Required: No
- Description: A list of rules applied to filter search results.
- Type: boolean
- Required: No
- Description: Indicates whether the object is searchable (
true) or not (false).
Represents the rules defined in an object to filter search results.
-
Type: string
-
Required: Yes
-
Description: Required.
The field that the rule applies to.
-
Type: string
-
Required: Yes
-
Description: Required.
The operator for the rule.
- Type: SearchCustomizationRuleValue[]
- Required: No
- Description: A list of rule values.
Represents the value of a rule used to filter search results.
- Type: string
- Required: No
- Description: The API name of the target object, in case the rule applies to a lookup field.
-
Type: string
-
Required: Yes
-
Description: Required.
The value of the rule.
The following is an example of a SearchCustomization component.
The following is an example package.xml that references the previous definition.
This metadata type supports the wildcard character * (asterisk) in the package.xml manifest file. For information about using the manifest file, see Deploying and Retrieving Metadata with the Zip File.