SPC015502: Declare required attributes in ListTemplate

Required attributes BaseType, DisplayName and Name must be declared in ListTemplate.

TypeName: DeclareRequiredAttributesInListTemplate
CheckId: SPC015502
Severity: CriticalError
Type: ListTemplateDefinition
Resolution

Add required attributes BaseType, DisplayName and Name to ListTemplate. See sample below:

<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
   <ListTemplate  
      Type="104"  
      Name="announce"  
      DisplayName="Announcements"
      BaseType="0"  
      OnQuickLaunch="TRUE"  
      SecurityBits="11"  
      Description="Create an announcements list when you want a place to share news, status, and other short bits of information."  
      Image="/_layouts/images/itann.gif">
   </ListTemplate>
</Elements>

comments powered by Disqus