SPC015206: Define ContentTypes ID as hexadecimal GUID

It is recommended to use the GUID approach to identify any content types that are direct children of content types you did not create. Use the GUID approach if the parent content type is one of the following. That way, you are assured that the content type ID is unique and will not be duplicated later by the developer of the parent content type.

TypeName: DefineContentTypeIDAsHexadecimalGUID
CheckId: SPC015206
Severity: Warning
Type: ContentTypeDefinition
Resolution

The ContentType should define the ID as a hexadecimal GUID. See sample below:

<ContentType  
  ID="0x0101000728167CD9C94899925BA69C4AF6743E"
  Name="Financial Document"
  Group="Financial Content Types"
  Description="Base financial content type"
  Version="0">
  <FieldRefs>
  ...
  </FieldRefs>
</ContentType>

Links

comments powered by Disqus