Newer Version Available
ServiceChannel
Represents a channel of work items that are received from
your organization—for example, cases, chats, or leads.
This type extends the Metadata
metadata type and inherits its fullName field.
File Suffix and Directory Location
ServiceChannel components have the suffix .serviceChannel and are stored in the serviceChannels folder.
Version
ServiceChannel components are available in API version 44.0 and later.
Special Access Rules
This type is available only if Omni-Channel is enabled in your org.
Fields
| Field Name | Field Type | Description |
|---|---|---|
| interactionComponent | string | The custom console component to open in the footer when an agent accepts a work item from this service channel. |
| label | string | Required. The label of the service channel. |
| relatedEntityType | string | Required. The type of object that’s associated with this service channel. |
Declarative Metadata Sample Definition
The following is an example of a ServiceChannel component.
1<?xml version="1.0" encoding="UTF-8"?>
2<ServiceChannel xmlns="http://soap.sforce.com/2006/04/metadata">
3 <interactionComponent>component</interactionComponent>
4 <label>Case</label>
5 <relatedEntityType>Case</relatedEntityType>
6</ServiceChannel>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>ServiceChannel</name>
6 </types>
7 <version>44.0</version>
8</Package>