Solved

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

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

I used to be SharePoint evangelist in our company, so my Outlook always full of questions about how to do this, or where I can find that. One day I found such an email with the following question: "how to attach 3-State workflow (one of the workflow…
For SharePoint sites, particularly public-facing ones, there are times when adding JavaScript, Meta Tags, CSS Styles or other content to the page <head> section is more practical than modifying master pages.  For instance, you could add the jQuery l…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

743 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now