SearchableObjDataSyncInfo
SearchCriteriaConfiguration
SearchResultActionConfig
IndustriesSettings
Industries Object Access by Community License
Access Industries Features Deployed Using Managed Packages
Previous Versions
Represents a collection of fields to set up the actions that a user can perform on results returned by criteria-based search.
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.
Important
This type extends the Metadata metadata type and inherits its fullName field.
SearchResultActionConfig components have the suffix .SearchResultActionConfigSettings and are stored in the SearchResultActionConfigSettings folder.
SearchResultActionConfig components are available in API version 59.0 and later.
This type is available if Criteria-Based Search and Filter is enabled in your org.
Field Type: string
Description: Required.
The action that a user can launch for a search result. Specify the ID of an instance that corresponds to your action type.
Field Type: SearchResultActionScope (enumeration of type string)
Description: Required.
Specifies the scope of the action that the user can launch.
Possible values:
Global—Select to apply the action to all record types in the search result.Inline—Select to restrict the action to a single record. Available in API version 64.0 and later.Field Type: SearchResultActionType (enumeration of type string)
Description: Required.
Specifies the type of action that a user can launch.
Possible values:
FlowDefinitionLightningWebComponentOmniScript—Available in API version 60.0 and later.true) or not (false). Available in API version 64.0 and later.falseField Type: string
Description: Required.
The name of the action that’s displayed in the search page.
The following is an example of a SearchResultActionConfig component.
1<?xml version="1.0" encoding="UTF-8"?>
2<SearchResultActionConfig xmlns="http://soap.sforce.com/2006/04/metadata">
3 <actionReference>setup_service_experience__Create_Case</actionReference>
4 <actionScope>Global</actionScope>
5 <actionType>FlowDefinition</actionType>
6 <agentConfirmationMessage>test confirmation message</agentConfirmationMessage>
7 <description>Screen flow to create a case.</description>
8 <isAiAction>true</isAiAction>
9 <masterLabel>Create a Case</masterLabel>
10</SearchResultActionConfig>The following is an example package.xml that references the previous definition.
1<?xml version="1.0" encoding="UTF-8"?>
2<Package xmlns="http://soap.sforce.com/2006/04/metadata">
3 <types>
4 <members>*</members>
5 <name>SearchResultActionConfig</name>
6 </types>
7 <version>59.0</version>
8</Package>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.