Field Element (DeploymentManifest - DeploymentFieldTemplate)

Applies to: SharePoint Foundation 2010

Represents an instance of a Windows SharePoint Services 3.0 field object (SPField) that provides a field value for the specified template field.

DECLARATION
<xs:element name="Field" 
        type="SPField" 
        minOccurs="1" maxOccurs="1" 
/>

USAGE
<FieldTemplate>
        <Field
                ID="Guid"
                FieldId="Guid"
                Name="xs:string"
                Value="xs:string"
                DisplayName="xs:string"
                RowOrdinal="xs:int"
                RowOrdinal2="xs:int"
                Type="xs:string"
                ColName="xs:string"
                ColName2="xs:string"
                Title="xs:string"
                Description="xs:string"
                DefaultValue="xs:string"
                DefaultFormula="xs:string"
                FromBaseType="xs:string"
                Sealed="xs:string"
                CanToggleHidden="xs:string"
                DisplaySize="xs:string"
                Required="xs:string"
                ReadOnly="xs:string"
                Hidden="xs:string"
                Direction="xs:string"
                IMEMode="xs:string"
                SortableBySchema="xs:string"
                Sortable="xs:string"
                FilterableBySchema="xs:string"
                Filterable="xs:string"
                FilterableNoRecurrenceBySchema="xs:string"
                FilterableNoRecurrence="xs:string"
                Reorderable="xs:string"
                Format="xs:string"
                FillInChoice="xs:string"
                SchemaXml="xs:string"
        />
</FieldTemplate>

Type

SPField

Attributes

Attribute

Type

Description

Id

Guid Simple Type (DeploymentManifest)

Optional. Unique identifier of the list template.

FieldId

Guid Simple Type (DeploymentManifest)

Optional. Unique identifier of the field.

Name

xs:string

Optional. Name of the field

Value

xs:string

Optional. Represents the field value.

DisplayName

xs:string

Optional. Display name for the field.

RowOrdinal

xs:int

Optional.

RowOrdinal2

xs:int

Optional.

Type

xs:string

Optional. Type of the field.

ColName

xs:string

Optional. Display name of the field column.

ColName2

xs:string

Optional.

Title

xs:string

Optional. Title of the field value.

Description

xs:string

Optional. Provides a description of the field.

DefaultValue

xs:string

Optional. Default value associated with the field.

DefaultFormula

xs:string

Optional. Default formula applied to values in the field, in cases where the field is a calculated field.

FromBaseType

xs:string

Optional. Indicates the base type from which the field derives. Base types are defined in FldTypes.xml.

Sealed

xs:string

Optional. Indicates whether other fields can be derived from the field.

CanToggleHidden

xs:string

Optional. Indicates whether the field column can be hidden in the user interface.

DisplaySize

xs:string

Optional. Specifies the display size for the field.

Required

xs:string

Optional. Specifies whether the field requires a value (that is, cannot be null).

ReadOnly

xs:string

Optional. Specifies whether the field value is read-only (cannot be modified).

Hidden

xs:string

Optional. Specifies whether the field is displayed in the list.

Direction

xs:string

Optional. Specifies the direction of the reading order for the field.

IMEMode

xs:string

Optional. Specifies the Input Method Editor (IME) mode bias to use for the field. The IME allows for conversion of keystrokes between languages when one writing system has more characters than can be encoded for the keyboard.

SortableBySchema

xs:string

Optional. Specifies whether the field can be sorted with respect to the schema definition.

Sortable

xs:string

Optional. Specifies whether the field can be sorted on field values.

FilterableBySchema

xs:string

Optional. Specifies whether the field can be filtered with respect to the schema definition.

Filterable

xs:string

Optional. Specifies whether the field can be filtered on field values.

FilterableNoRecurrenceBySchema

xs:string

Optional. Specifies whether the field can be filtered with respect to the schema definition file, but in such a way that the view does not expand recurring events.

FilterableNoRecurrence

xs:string

Optional. Specifies whether a filter can be created on a field in a view that does not expand recurring events. For more information, see FilterableNoRecurrence.

Reorderable

xs:string

Optional. Specifies whether values in the field can be reordered.

Format

xs:string

Optional.

FillInChoice

xs:string

Optional.

SchemaXml

xs:string

Optional. Specifies the XML schema that defines the field.

Child Elements

None

Parent Elements

FieldTemplate Element (DeploymentManifest)

See Also

Reference

SPField

Concepts

DeploymentManifest Schema

Understanding the FldTypes.xml File