Field

Applies to: SharePoint Foundation 2010

A field element defines the column types for a list. Field elements cause shared columns to be added to the site collection's column gallery. A shared field includes settings for that field, such as the set of choices for a choice field, or whether rich text is supported for a text field.

An example of a shared field would be "Specification Status," which has standard choices such as "One Page," "Draft," "Reviewed," and "Inspected." Each team in a deployment can reuse this custom property definition on their site.

Shared fields are a provisioning concept referred to by content types, such that if you provision a site collection with two separate content types that use the same shared field, the provisioning script for those content types instantiates the exact same field, and each field instance shares the same unique identifier.

Possible scopes:

  • Farm: No

  • Web Application: No

  • Site Collection: Yes

  • Web Site: Yes

For general information about column templates and how they function within Microsoft SharePoint Foundation, see Introduction to Columns.