Solved

Sharepoint 2010 cannot hide field in List "View Item" dialog

Posted on 2013-11-08
2
961 Views
Last Modified: 2013-12-15
The View Item dialog on one of my lists is displaying a field that I need to hide. The field is not included in any of the views, and Manage Content Type is enabled on the list, but the option to hide the field in question is grayed out under Column Settings in Change Content Type Column. I have successfully hidden several other fields in this list. The only difference between those fields and the problem field is that the latter is a calculated field. Does anybody know what the problem might be?
0
Comment
Question by:dgmoore1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 44

Accepted Solution

by:
Rainer Jeschor earned 500 total points
ID: 39633778
Hi,
you have two options:
you can try to set the field setting through SharePoint designer or you use this Powershell script:
$web = Get-SPWeb https://yoursharepointurl.com/sites/yoursite
$list = $web.Lists["YourListName"]

$field = $list.Fields["YourCalculatedFieldName"]
$field.ShowInDisplayForm = $false
$field.ShowInEditForm = $false
$field.ShowInViewForms = $false
$field.ShowInNewForm = $false
$field.Update($true)
$list.Update($true)

Open in new window


HTH
Rainer
0
 

Author Comment

by:dgmoore1
ID: 39637422
Both options sound promising - I have lost network access on my work computer for a couple of days and won't be able to try these until my login problem is fixed. I'll let you know how it goes.

Thanks
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Microsoft SharePoint Foundation 2010 and Microsoft SharePoint Server 2010 do not offer the option to configure the location of the SharePoint diagnostic trace log files during installation.  This can, however, be configured through Central Administr…
The vision: A MegaMenu for a SharePoint portal home page The mission: Make it easy to maintain. Allow rich content and sub headers as well as standard links. Factor in frequent changes without involving developers or a lengthy Dev/Test/Prod rel…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

737 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question