SPC017511: Declare required attributes in schema of ListTemplate

The attribte 'Title', 'Name' and 'Direction' must be declared in the schema.xml of a ListTemplate.

TypeName: DeclareRequiredAttributesInListDefinition
CheckId: SPC017511
Severity: Error
Type: List
Resolution

Add the required attributes to the ListTemplate.

See sample below:

<List
  xmlns:ows="Microsoft SharePoint"
  Name="Documents"
  Title="$Resources:shareddocuments_Title;"  
  Direction="$Resources:Direction;"  
  Url="Shared Documents"  
  BaseType="1">
  ...
</List>

comments powered by Disqus