SPC015102: Add curly brackets to Field ID

Field ID must contain curly brackets.

TypeName: AddCurlyBracketsToFieldId
CheckId: SPC015102
Severity: Error
Type: FieldDefinition
Resolution

The attribute 'ID' of a Field must start and end with curly brackets.

Sample (MSDN):

<Field
   ID="{060E50AC-E9C1-4D3C-B1F9-DE0BCAC300F6}"
   Name="Amount"
   DisplayName="Amount">
   ...
</Field>

Remarks

The MSDN documentation states that 'The value SHOULD be the string representation of a GUID contained within braces ({})'. SPCAF requires the curly brackets.

comments powered by Disqus