SearchResultActionConfig
Parent Type
File Suffix and Directory Location
SearchResultActionConfig components have the suffix .SearchResultActionConfigSettings and are stored in the SearchResultActionConfigSettings folder.
Version
SearchResultActionConfig components are available in API version 59.0 and later.
Special Access Rules
This type is available if Criteria-Based Search and Filter is enabled in your org.
Fields
| Field Name | Description |
|---|---|
| actionReference |
|
| actionScope |
|
| actionType |
|
| agentConfirmationMessage |
|
| description |
|
| isAiAction |
|
| masterLabel |
|
Declarative Metadata Sample Definition
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>Wildcard Support in the Manifest File
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.