SPC015211: Define attribute 'Inherits' to FALSE in ContentType if RemoveFieldRef are used |
SPC015211: Define attribute 'Inherits' to FALSE in ContentType if RemoveFieldRef are used |
A content type should not have attribute 'Inherits' set to 'TRUE' if elements of type 'RemoveFieldRef' are used. Set Inherits to 'FALSE' or hide the not used columns with Hidden=TRUE to remove fields from a content type.
TypeName: | DefineInheritsInContentTypeWithRemoveFiedRef |
CheckId: | SPC015211 |
Severity: | CriticalWarning |
Type: | ContentTypeDefinition |
A ContentType should not set 'Inherits' to TRUE because childs of type 'RemoveFieldRef' is used to remove fields from the content type. See sample below:
comments powered by Disqus
Copyright © 2013 RENCORE AB. All Rights Reserved
Disclaimer: The views and opinions expressed in this documentation and in SPCAF are those of the creators and do not necessarily reflect the opinions and recommendations of Microsoft or any member of Microsoft. All trademarks, service marks, collective marks, copyrights, registered names, and marks used or cited by this documentation are the property of their respective owners. SharePoint Code Analysis Framework, Version 4.5.2.7855, see www.spcaf.com for more information |