Expand Minimize

SPC042201: Declare all FieldTypes in a single file

If multiple FieldTypes are deployed by a Solution these FieldTypes should be store in a single XML file to avoid unnecessary files.

CheckId SPC042201
TypeName DeclareFieldTypesInASingleFile
Severity CriticalWarning
Type FieldType

Move all FieldTypes into a single file and remove unnecessary files.

To suppress this violation in XML SharePoint code add the following comment right before the XML tag which causes the rule violation. Learn more about SuppressMessage here.

<!-- "SuppressMessage":{"rule":"SPC042201:DeclareFieldTypesInASingleFile","justification":"Provide reason for suppression here"} -->
Disclaimer: The views and opinions expressed in this documentation and in SPCAF do not necessarily reflect the opinions and recommendations of Microsoft or any member of Microsoft. SPCAF and RENCORE are registered trademarks of Rencore. All other trademarks, service marks, collective marks, copyrights, registered names, and marks used or cited by this documentation are the property of their respective owners.