ProcessWorkItemTypeField interface
描述工作项类型中的字段及其属性的类。
属性
allowed |
允许的字段值的列表。 |
allow |
允许将字段值设置为组标识。 仅适用于标识字段。 |
customization | 指示此工作项的自定义类型。 |
default |
字段的默认值。 |
description | 字段的说明。 |
is |
有关被锁定以便编辑的字段定义的信息 |
name | 字段的名称。 |
read |
如果为 true,则无法编辑该字段。 |
reference |
字段的引用名称。 |
required | 如果为 true,则字段不能为空。 |
type | 字段的类型。 |
url | 字段的资源 URL。 |
属性详细信息
allowedValues
允许的字段值的列表。
allowedValues: any[]
属性值
any[]
allowGroups
允许将字段值设置为组标识。 仅适用于标识字段。
allowGroups: boolean
属性值
boolean
customization
defaultValue
字段的默认值。
defaultValue: any
属性值
any
description
字段的说明。
description: string
属性值
string
isLocked
有关被锁定以便编辑的字段定义的信息
isLocked: boolean
属性值
boolean
name
字段的名称。
name: string
属性值
string
readOnly
如果为 true,则无法编辑该字段。
readOnly: boolean
属性值
boolean
referenceName
字段的引用名称。
referenceName: string
属性值
string
required
如果为 true,则字段不能为空。
required: boolean
属性值
boolean
type
url
字段的资源 URL。
url: string
属性值
string