Tell me more ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I try to hide the content type dropdownlist from the document set edit form. I can successfully hide the my custom columns using the following script but cannot hide the content type dropdownlist. enter image description here

Here is the code I use , for the complete code please see here.

$listField = $list.Fields.GetField(“Content Type”)
$listField.ShowInEditForm = $false
$listField.ShowInNewForm=$false
$listField.Update()
share|improve this question

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.