SPC017002: Declare required attributes in TemplateAssocation

Required attributes Id and TemplateName must be declared in TemplateAssocation.

TypeName: DeclareRequiredAttributesInTemplateAssociation
CheckId: SPC017002
Severity: CriticalError
Type: FeatureSiteTemplateAssociationDefinition
Resolution

Add missing attributes Id or TemplateName to TemplateAssocation. See sample below:

<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
   <FeatureSiteTemplateAssociation Id="99FE402E-89A0-45aa-9163-85342E865DC8" TemplateName="PROFILES#0" />  
   <FeatureSiteTemplateAssociation Id="99FE402E-89A0-45aa-9163-85342E865DC8" TemplateName="CMSPUBLISHING#0" />  
   ...
</Elements>

comments powered by Disqus