Can’t get RemoveFieldRef in your custom content type schema to work?

Check that:

  1. The Inherits attribute in <ContentType> is FALSE
  2. Check the casing of the GUID specified in <RemoveFieldRef>. My testing shows that this is case-sensitive.
On the latter point above, it is best to write a harness program to check the GUID of the field currently installed on SharePoint. Case-sensitive… jeez what were they thinking??
Advertisement

About Bernado

Based in Australia, I am a freelance SharePoint and Dynamics CRM developer. I love developing innovative solutions that address business and everyday problems. Feel free to contact me if you think I can help you with your SharePoint or CRM implementation.
This entry was posted in Content Types, SharePoint. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s