SPC015105: Declare required attributes in Field

Required attributes ID, Name and Type must be declared in Field.

TypeName: DeclareAllRequiredAttributesInFields
CheckId: SPC015105
Severity: CriticalWarning
Type: FieldDefinition

Add missing required attribute to a Field. See sample below:

<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
      Group="Financial Columns" />


According to MSDN the attribute 'Required' is also required. Reality shows that SharePoint does not expect the attribute. Therefore SPCAF does not require the attribute.

comments powered by Disqus