Site Columns in MOSS 2007

Site Columns in MOSS 2007

Site Column is one of the coolest featuer in MOSS 2007. Simply Site Column is a Custom Column which can be used/added in any list/content type across the site.

For example we can create a custom site column 'Manager Code' and can inherit it in any list/content type of the entier site.

Steps to create new site Column:

# 1 : Go to Site actions -> site Settings and click Site Columns under Galleries

#2 : click Create in Site Column Gallery

#3 : In New Site Column screen enter the Column Name, Type , Group(I have created new group here) and Description. (if you give the exsisting or reserved column name you will get 'The column name that you entered is already in use or reserved. Choose another name.' error).




# 4 : Now is new site coulmn 'ManagerCode' has been created , you should see it in 'Site Column Gallery' page under 'MySiteColumns'.




Steps to Use the new site Columns:

# 1 : Once Custom site columns are created, its ready to use in Content Type/Lists.

For Lists (or for content types go to Site Actions->Site Settings->Site Content Types(under gallery)->Content Type) , click 'Add from new site column' link under Columns section in settings page

# 2 : In 'Add Columns to Site Content Type' select the coulmn group name & column name and add to the selected columns to 'columns to add' section and click ok

Now you should be able to see the custom site column under the columns section of List/Content types.