?
Solved

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

Posted on 2013-11-08
2
Medium Priority
?
980 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 2000 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

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

Question has a verified solution.

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

Note:  There are two main ways to deploy InfoPath forms:  Server-side and directly through the SharePoint site.  Deploying a server-side InfoPath form means the form is approved by the Administrator, thus allowing greater functionality in the form. …
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…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

800 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