Monday, January 16, 2012

Site column in SharePoint 2010

Introduction:
In this article we will discuss what is a site column in SharePoint 2010. Before that also we have discussed some Visual Studio 2010 articles and SharePoint 2010 server object model.

Description:
- Site columns are fields that can be reused across multiple lists.

- Every site within a site collection contains its own site columns gallery.

- when you add a site column to a site columns gallery, that site column is available for use within the current site, as well as in all the child sites in the site hierarchy below.
- When you add a site column to the site column gallery of a top-level site, it is available for use throughout the entire site collection.


- So site column should be added to the site columns gallery of top-level sites instead of child sites.

- Some out of box site columns are: ID, Title, LinkTitle, FirstName, LastName, HomePhone, CellPhone, EMail etc.

- SharePoint Foundation adds more than 400 site columns into the site column gallery of every top-level site. But most of them are hidden and also some are to support backward compaitability.

-Apart from that you can also create your own site column by using the browser or by using SharePoint server object model, but its better if you can reuse an existing one.

- Whenever yor are creating any site column, you should create on the top level site.

No comments:

Post a Comment