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 created several site columns to build multiple lists on a new SP 2010 site. In one of the new lists one of the columns has gone missing and I cannot reference, view, or update entries in the column. However, the column shows up on new forms for the content type associated to that column.

I'm completely baffled how this occurred and how I get that column back. I'd like to avoid rebuilding the list entirely.

share|improve this question
add comment

1 Answer

What type of field is that? Did you set ReadOnly or Hidden property to true? You can try setting property ShowInNewForm, ShowInDisplayForm, ShowInEditForm to true, like below.

$web = Get-SPWeb "http://test"
$list = $web.Lists["listname"]
$fields = $list.Fields.GetFieldByInternalName("nameofcolumn")
$field.ShowInEditForm = $true
$field.ShowInNewForm = $true
$field.ShowInDisplayForm = $true
$web.Dispose()
share|improve this answer
    
It is a choice field (3 choices, checkboxes). I'm unsure how to run those commands? I've been interacting with our Sharepoint via designer 2010 and the web. –  theman Apr 27 '12 at 15:56
    
If it helps at all, if I try to edit the content type on the list in Sharepoint Designer 2012, I get: Could not load requested object. Cannot invoke method or retrieve property from null object. Object returned by the following call stack is null. "" –  theman Apr 27 '12 at 16:04
    
Also, if I edit the content type via the web I can edit it just fine, but the column does not show up. It only shows up under the section to set the order on a new item form. –  theman Apr 27 '12 at 16:10
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.