Share via


ServerDefaultFrom Simple Type (Work Item Type Definition Schema)

Defines the sources of values that are entered into a field when the work item is committed to the database.

<xs:simpleType name="ServerDefaultFrom">
    <xs:restriction base="xs:string">
        <xs:enumeration value="clock"/>
        <xs:enumeration value="currentuser"/>
    </xs:restriction>
</xs:simpleType>

Attributes and Elements

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

Attributes

None

Child Elements

None

Parent Elements

None

Remarks

The ServerDefaultFrom Simple Type defines the from attribute in the ServerDefaultRule Complex Type (Work Item Type Definition Schema).

Enumeration Values

The ServerDefaultFrom Simple Type is a string restricted to the following values:

Element

Description

clock

Specifies that the copied source is the system clock.

currentuser

Specifies that the copied source is the currently logged-on user.

Element Information

Namespace

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

Schema Name

Work Item Type Definition

Validation File

WorkItemTypeDefinition.xsd

Can be Empty

Not applicable

See Also

Concepts

Specifying Field Defaults

Available Field Rules

Other Resources

Defining Field Rules