Udostępnij za pośrednictwem


GLOBALLIST Element (Work Item Type Definition Schema)

References a global list that contains values to include in the selection of values for the ALLOWEDVALUES, PROHIBITEDVALUES, and SUGGESTEDVALUES elements.

<xs:element name="GLOBALLIST" type="typelib:GlobalList"/>

Attributes and Elements

The following sections describe attributes, child elements, and parent elements.

Attributes

Attribute

Description

name

Required GlobalList attribute.

The name of the global list to reference.

Child Elements

None

Parent Elements

Element

Description

ALLOWEDVALUES Element (Work Item Type Definition Schema)

Optional element.

Defines a list of allowed values for the field.

PROHIBITEDVALUES Element (Work Item Type Definition Schema)

Optional element.

Defines a list of prohibited values for the field.

SUGGESTEDVALUES Element (Work Item Type Definition Schema)

Optional element.

Defines a list of suggested values for the field.

Remarks

GLOBALLIST is an optional child element of ALLOWEDVALUES, PROHIBITEDVALUES, and SUGGESTEDVALUES.

You can define a global list in a work item type definition XML file or in a global lists XML file. For more information, see Global Lists Schema.

If you define a global list in a work item type definition XML file, you must give the global list a unique name. Otherwise, you might overwrite an existing global list defined in a global lists XML file.

Example

<GLOBALLIST name="name of global list" />

Element Information

Namespace

https://schemas.microsoft.com/VisualStudio/2005/workitemtracking/typedef

Schema Name

Work Item Type Definition

Validation File

WorkItemTypeDefinition.xsd

Element Type

typelib:GlobalList

Can Be Empty

Not applicable

See Also

Concepts

Global Lists