SPC082201: Declare FieldType in File 'fldtypes_[namespace].xml'

The XML file which contains FieldTypes should follow the pattern 'fldtypes_[Namespace].xml'. [Namespace] represents the name of the WSP solution with replaced '.' with underscore. Reason: All FieldTypes are deployed to folder /SharePointRoot/Templates/XML and therefore must be stored in a file with a unique filename to avoid overriding existing FieldTypes from SharePoint or other custom solutions.

TypeName: DeclareFieldTypeInCorrectlyNamedFile
CheckId: SPC082201
Severity: Warning
Type: FieldType
Resolution

Rename the file according to the pattern 'fldtypes_[Namespace].xml'. If multiple files with FieldTypes are deployed the pattner is 'fldtypes_[Namespace]_[FieldName].xml'

comments powered by Disqus