Newer Version Available

This content describes an older version of this product. View Latest

ChoiceList

Represents the Choicelist dropdown field that’s used for pre-chat.

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

Parent Type

This type extends the Metadata metadata type and inherits its fullName field.

File Suffix and Directory Location

ChoiceList components have the suffix .ChoiceList and are stored in the ChoiceList folder.

Version

ChoiceList components are available in API version 62 and later.

Special Access Rules

There are no additional access requirements that are specific to this type.

Fields

Field Name Description
choiceListValue
Field Type
ChoiceListValue[]
Description
A list of choices to display in the choice list.
description
Field Type
string
Description
A description of the choice list.
masterLabel
Field Type
string
Description

Required. The label for the choice list.

ChoiceListValue

Represents a choice list value in the pre-chat dropdown. ChoiceListValue is available in API version 62 or later.

Field Name Description
embeddedServiceCustomLabels
Field Type
EmbeddedServiceCustomLabel[]
Description
Custom labels for the choicelist value.
isDefaultValue
Field Type
boolean
Description

Required. Indicates whether the choicelist value should be selected by default.

order
Field Type
int
Description

Required. The order of the choicelist value in the choicelist dropdown field.

valueName
Field Type
string
Description

Required. The value of the choicelist.

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.