Solved

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

Posted on 2013-11-08
2
971 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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

The Scenario: Let’s say you have a quote worksheet in Excel that you use to work up sales figures and such for your clients. You utilize SharePoint to manage and keep track of these documents. You would like values from your worksheet to populate Sh…
SharePoint Designer 2010 has tools and commands to do everything that can be done with web parts in the browser, and then some – except uploading a web part straight into a page that is edited in SPD. So, can it be done? Scenario For a recent pr…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

690 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