Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I've upgraded a SP2007 to a SP2010 and now some settings have been lost. In some CQWP I need the Created column to group items etc. How do I unhide it so it is selectable in dropdownlists and displays in list settings when overviewing columns?

share|improve this question
add comment

1 Answer

up vote 5 down vote accepted

You can do this programmatically or through PowerShell, setting SPField.Hidden property to false.

Tentative PowerShell script:

$web = Get-SPWeb http://localhost
$list = $web.GetList("/Lists/Test")
$field = $list.Fields.GetFieldByInternalName("Created")
$field.Hidden = $false
$field.Update()
share|improve this answer
add comment

Your Answer

 
discard

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.