SharePoint 2010 columns

SharePoint 2010 Columns

The column is the core data construct in SharePoint 2010.

Column:

Used in SharePoint user interface.

Field:

 Used when referring to Object model code.

Field elements:

Columns are represented as Field elements in site or list definitions.

FieldRef elements:

Columns are represented as FieldRef elements in content type definitions.

SPField class:

Columns are represented as SPField class in SharePoint object model.

Different scopes:

·         List Column

·         Site Column

 List Column:

List Column, which is defined at the list level.

Site Column:

Site Column, which is defined at the site collection level and is made

available for use in lists and content types across the site collection, including all subsites.

When you create a column, you can define the following information.

·         Core details:  Column name and the data type.

·         Group details

·         Logical details

·         Validation details