Export (0) Print
Expand All

Field Element (Field Types Property Schema)

Last modified: July 15, 2011

Applies to: SharePoint Foundation 2013 | SharePoint Server 2013

In this article
Attributes
Child Elements
Parent Elements

Important note Important

This topic describes markup that was used in an obsolete method of rendering custom field type properties. It is provided solely to assist with the debugging of custom field type properties developed against earlier versions of SharePoint Foundation. For information about the recommended method, Custom Field Type Property Rendering.

Represents a variable property of a custom field type that is set when a column based on the field type is created.

<Field
  Name="Text" 
  DisplayName="Text" 
  MaxLength="Integer" 
  DisplaySize="Integer" 
  Type="Text">
</Field>

Attribute

Description

Name

Required Text. The name of the property of the field type that the Field element represents.

DisplayName

Required Text. The name of the property that appears in the UI when a column based on the field type is created.

MaxLength

Required Text. The maximum length, in characters, of the property's value.

DisplaySize

Required Text. The length, in characters, of the control that holds the property value in the UI.

Type

Required Text. The underlying data type of the property's value.

See PropertySchema Element (Field Types) for a detailed description and example of this element in context.

Show:
© 2015 Microsoft