Tuesday, May 09, 2006 10:07 AM Jan Tielens

YASR: SharePoint 2007 Site Columns

[Yet Another SharePoint Relief Series] If you know a little bit about SharePoint 2003 you probably are aware of the fact that you can add custom columns to a SharePoint List or a Document Library. For example you can add an Importance column to a Document Library so each document in that library can have an Importance value. Probably if you want to do this nicely, you create Choice column so users can select the value for the Importance field from a couple of predefined values (e.g. Important, Very Important …). So far so good, this works fine in SharePoint 2003. But suppose you would like to have this Importance column also in another Document Library or in another List. The only option that you have in SharePoint 2003 is to repeat the creation of the field for the other Lists or Libraries (including defining all the different Importance values). In SharePoint 2007 you can avoid this repetitive work by using a new feature called Site columns. When you navigate to the Site Settings of a site, you’ll see a link called Site columns.

Clicking this link will bring you to the Site Column Gallery. This gallery contains all the defined Site columns, as you can see there are a bunch of columns that you get out of the box. Because this list can get quite long, you can divide the Site columns into groups.

From this gallery you can also create a new Site column, by clicking the Create link. Creating a Site column works exactly the same as creating a column for a Document Library or List. In this example I’ve created the Importance column and I’ve put it into the YASR group. The Source of the column is identified as YASR1 which is the name of the site.

When you want to add the newly created site column either to a Document Library or List, you need to navigate to the Settings of the Library or List. In the Columns section you’ll find links to create a new column, or to add a column from existing site columns.

Selecting a site column is quite easy: the groups are listed in a drop down and it’s possible to add more than one column at the same time.

When you’ve added the column to a Document Library or List, the library or list will have the Imortance column right away, including all the settings that have been chosen for this column (e.g. different values). Of course it’s possible to add the same site column to multiple Document Libraries or Lists. That’s already quite nice functionality, don’t you think? It gets even better: just imagine that you’ve added the Importance field to a bunch of SharePoint 2003 lists and libraries (which involves doing some repetitive manual actions) and you realize that you forgot to add a Importance value (e.g. Critical). There was no other option for you to go to each SharePoint Library or List and to manually update the Importance field, so the new value was added. However in SharePoint 2007 Site columns, update a site column that you have added to libraries or lists already. When you make the update you can specify if you would like to update all the lists and libraries that make use of this site column, or not. Yet another Sharepoint relief!

Filed under: , ,

Comments

# Great Office 2007, SharePoint Server 2007 and Windows SharePoint Services V3 beta2

Saturday, June 03, 2006 5:08 AM by Marwan Tarek Blog

via JOPX
 
Ah finally, it is here ... get your Office 2007 beta2 ... So, to get things going -...

# re: YASR: SharePoint 2007 Site Columns

Thursday, August 03, 2006 7:10 AM by satheesh

How to remove an added column from document library

# re: YASR: SharePoint 2007 Site Columns

Thursday, December 21, 2006 4:48 PM by Merlin Martel

Hy,

How do I use a Site column on the root when I created my site column in a site under the root.

The source of the site column isn't the same. It seems that we can't only use the site column under the site we created it.

# re: YASR: SharePoint 2007 Site Columns

Tuesday, January 09, 2007 4:37 AM by Jo

Hi,

hoe cud i remove the menu (sort and filter) from the column headings?

# re: YASR: SharePoint 2007 Site Columns

Friday, February 23, 2007 1:20 AM by Reny Mathew

Is is possible to update the value in a custom column of the document library through code only. If so , how can that be done

# re: YASR: SharePoint 2007 Site Columns

Monday, March 05, 2007 10:25 PM by Searching columns

How do you run a search under sharepoint that gets hits on values in there columns????

# re: YASR: SharePoint 2007 Site Columns

Sunday, March 11, 2007 9:56 AM by Morten Marquard

What about COMPUTED Site Columns. Unfortunately they dones't show up anywhere in the UI - any ideas why not?

# re: YASR: SharePoint 2007 Site Columns

Thursday, March 22, 2007 7:42 AM by Roger Lu

I have a imported template, How can I make columns in the template to become site columns?

# re: YASR: SharePoint 2007 Site Columns

Sunday, April 15, 2007 9:18 PM by rahulan

thanks heaps for this mate. its really helpful for WSS amateurs like me!!

# re: YASR: SharePoint 2007 Site Columns

Monday, June 25, 2007 9:42 AM by Hari

I am creating list in child site. The list name is Timesheets. I am also creating columns for this list. One column name is Project which is a look up column. This column is based on the Project site column. But i am not able to link this column with the column created earlier. I am using WSS 3.0 version. Can anybody help me with this?...

# re: YASR: SharePoint 2007 Site Columns

Thursday, August 23, 2007 4:54 AM by Steve

Don't bother asking Jan how to do things.  He never answers questions his posts might raise.  That's pretty lame.

# Generating MOSS Features with CTFC (Content Type Feature Creator)

Tuesday, January 29, 2008 3:27 PM by MOSS 2007 and Software Product Lines

Features for Content Types and Site Columns can be quickly generated by using CTFC. There are basically