SPC012206: Declare field 'FieldTypeClass' in FieldType

Field <Field Name="FieldTypeClass" /> is an optional element, but required for all custom field types. Represents the strong name of the field type class library.

TypeName: DeclareFieldTypeClassInFieldType
CheckId: SPC012206
Severity: CriticalError
Type: FieldType
Resolution

Add <Field Name="FieldTypeClass" /> to custom field types. See sample below:

<Field>
   <Field Name="TypeName">RegularExpressionField</Field>
   <Field Name="FieldTypeClass">CustomFieldTypes.RegularExpression.RegularExpressionField, CustomFieldTypes.RegularExpression, Version=1.0.0.0, Culture=neutral, PublicKeyToken=57e55365ec0ce80a</Field>
   ...
</Field>

comments powered by Disqus