SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it possible to add a new column to all existing views of a list or I have to do manually for each view?

share|improve this question
up vote 4 down vote accepted

There is no way OOTB using the UI.

So you have to do it manually in the UI or through code (could be PowerShell).

If you create the column in the UI and deselect 'Add to Default View' and then run the following in 'SharePoint 2010 Management Shell':

$web = Get-SPWeb "http://sharepoint"
$list = $web.GetList("http://sharepoint/Lists/MyList")
$field = $list.Fields["NewColumn"]
0..($list.Views.Count-1) | foreach-object {
  $view = $list.Views[$_];$view.ViewFields.Add($field);$view.Update()
share|improve this answer
Can please provide a link which explains it? – neo269 May 14 '12 at 4:55
Example added. Urls and names should be replaced – Per Jakobsen May 14 '12 at 5:24

You can see the link below, that has a PowerShell 1.0 code to use in SharePoint 2007 environment (that of course can be adjusted to use in SharePoint 2010 environment too)

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.