Suite | Team, Growth, Professional, Enterprise, or Enterprise Plus |
Support | Team, Professional, or Enterprise |
关于自定义字段
- 使用下拉列表、多选和复选框自定义字段,在自行程序、宏、触发器、报告和视图中生成标签(请参阅了解自定义工单字段、标签和业务规则)。
- 用作宏、工单评论和通知消息中的占位符(请参阅自定义字段的占位符)。
- 查找关系字段可用于触发器和视图(请参阅在触发器和视图中使用查找关系字段。
- 用于报告(Professional 和 Enterprise 服务模式)(请参阅使用自定义字段报告)。
- 用于搜索(请参阅搜索自定义用户和组织字段)。
自定义用户和组织字段仅对团队成员可见。终端用户看不到它们。不过,除团队成员外,管理员还可以使工单字段对终端用户可见。
关于自定义字段类型
下表详细说明了您可以添加的自定义字段类型。此外,您还可以创建查找关系字段。
类型 | 描述 |
---|---|
下拉列表 | 此字段可以创建选项列表供用户选择。每个选项都是标题和标签的组合。标题将向用户显示,标签用作您可以在业务规则中使用的工单属性。您最多可以在自定义下拉列表中创建 2,000 个值,每个字段的最大长度为 255 个字符。
您可以选择在下拉列表中将哪个字段显示为默认选项,或选择默认不显示字段值。
注意:在下拉列表中配置默认选项仅适用于由专员通过专员工作区创建的新工单,或由用户在显示工单表格的位置创建的新工单。如果将现有工单表格更改为包含带有默认选项下拉列表的工单表格,则不会显示默认选项。
您可以对下拉列表选项进行归类(请参阅组织下拉列表选项)。 |
多选 | 此字段允许用户在预定列表中选择多个选项。您最多可以在自定义多选列表中创建 2000 个值。
您可以对选项进行归类(请参阅组织下拉列表选项)。 ![]() |
Text | 这是一个简单的单行文本输入。
此字段的字符限制为 65,536。 |
多行 | 这是一个多行文本输入。
此字段的字符限制为 65,536。 |
复选框 | 这用于捕获“是/否”值。输入一个勾选复选框后要添加到工单中的标签。使用该工单标签过滤您的视图、触发器和自行程序。
|
数字 | 适用于简单的数字输入(没有小数)。在组织、用户和自定义对象的自定义数字字段中输入的值不能超过 12 位。工单自定义数字字段中的值没有长度限制。
|
小数 | 适用于包含小数的数字。
|
日期 | 自定义日期字段允许用户从日期选取器中选择日期。用户可以选择当前日期或过去或将来的任意日期。
社区提示!Colin 演示了如何使用自定义日期字段来设置工单提醒。请在我们的社区论坛中查看该演示。 使用 webhook 或其他方法更改工单中的自定义日期字段时,请勿包含小时或时区,以免出错。 |
信用卡 | 此字段允许用户输入信用卡号。Zendesk 只会储存并且专员只能看见最后四位数。
注意:用户和组织字段不支持信用卡字段。
|
正则表达式 | 您可以输入正则表达式来创建一个输入掩码,以验证是否以固定模式(电话号码、邮政编码、社会保险号码等)正确输入数字。
这是美国社会保险号的正则表达式。此表达式需要三组数字(仅限 0-9),格式为 3-2-4,每组以短划线隔开: \b[0-9]{3}-[0-9]{2}-[0-9]{4}\b 其他常见的正则表达式包括:
正则表达式不得超过 255 个字符。 有关正则表达式的更多信息,请参阅 Microsoft 网站上的“Regular Expressions Language - Quick Reference(正则表达式语言 - 快速参考)”。Zendesk 使用 Ruby 处理正则表达式,这可能与其他语言的实现略有不同。有关两者之间的区别,请参阅 regular-expressions.info 网站上的“Using Regular Expressions with Ruby(在 Ruby 中使用正则表达式)”。 |
查找关系 | 自定义查找关系字段允许管理员定义工单、用户、组织和自定义对象之间可能存在的自定义关系。然后团队成员可以在处理工单、编辑用户个人资料、编辑组织或管理自定义对象时建立这些关系。请参阅使用查找关系字段。
|
75 条评论
jaden0731
Is there a limit to the number of letters for the text field?
1
Plo Mangsat
Thank you for posting a comment here. You can only create up to 2,000 values in the custom drop-down menu. To do this you need to create a CSV (comma-separated values) file that contains all the options you want to put in your custom field.
See the example below.
The following table lists the fields to include in the file. The first row of the CSV file is the header row, and you must include it in the file.
After you create the CSV file, you can import these values into a new ticket field.
To import the CSV field values
You can check Importing and exporting values for ticket fields for more information.
I hope this helps clear things.
Thanks!
0
Anita Rajkumar
I need to upload data into Location drop down
It has 3000 options in it.
How to handle it? please suggest
0
Dave Dyson
The character limit is 65536. Hope that helps!
0
Larry Click
There was no answer for the character limit for text fields. What is it?
1
mnemosyne
Are there any plans to add something like "To" and "From" time fields? For example, if a user needs to report information to HR regarding a timecard correction, the date would be very helpful but they typically need to add times, with potential ability to add multiple dates and times.
0
Wyze Support Bot
What is the character limit for the Text field?
0
Ariane Frances dela Cruz
I'm afraid it's not possible to customised the error message. There's a similar discussion on this community post here https://support.zendesk.com/hc/en-us/community/posts/4408860791834. Instead of changing the error message it might best to guide users on what details they should enter on the this custom field.
1
Daniel THAY Gmail
Hello,
How can we modify the error message from regex ticket field?
I would like to change this error message with my own error message.
Regards,
Daniel
1
Heather Rommel
Hi Zach Dhom,
Another option for this would be to store the info you want in a custom field on the Organization and then use the handy-dandy Auto Private Comment Target. You can set it up here and reuse it for many many other use cases....
https://support.zendesk.com/hc/en-us/community/posts/360031398273-Create-a-private-comment-automatically
0
登录 to leave a comment.