R – Hide inherited fields in new content types

content-typesharepoint

I am trying to hide PercentComplete (% Complete) field in my custom content type that inherits from Workflow Task content type. And I am trying to do this with a feature. I am using the ID of PercentComplete field in FieldRefs element and setting ShowInDisplayForm to FALSE to no avail.

Do I have to use a feature receiver and do it programmatically?

Best Answer

Did you try to set Hidden=TRUE in the FieldRef (see full reference here: http://msdn.microsoft.com/en-us/library/aa543225.aspx) ShowInDisplayForm adds the percentage field, but hides it in (only) one of the forms.