Desk SDKs JavaScript v1
Desk SDKs JavaScript
Desk SDKs
JavaScript
Version 1

Custom fields

Copy link

Except for the basic information such as customer name or Sendbird ID, you can save additional information of a ticket or a customer with Custom fields. Every custom information consists of field and value, and only the fields that are already registered on the Sendbird Dashboard can be used.


Custom field types

Copy link

Depending on the target of the information, custom fields are divided into two types as below:

  • Ticket fields: A custom field that allows to save additional information on a ticket, such as product name or issue category.
  • Customer fields: A custom field that allows to save additional information on a customer, such as age, country, MBTI, or blood type.

Prerequisite

Copy link

Create a custom field in Settings > Ticket fields or Customer fields on the Sendbird Dashboard. Each custom field can have one of the following data types: integer, text, link, and dropdown. The values for each field can't be saved if they don't match the data type of their fields. Therefore, check the data type of the field before utilizing custom fields with the Desk SDK.