SPC017510: Declare element 'DefaultDescription' in schema of ListTemplate

The element 'DefaultDescription' must be declared in the schema.xml of a ListTemplate.

TypeName: DeclareDefaultDescriptionInListDefinition
CheckId: SPC017510
Severity: CriticalWarning
Type: List
Resolution

Add element 'DefaultDescription' to the element 'MetaData' in the schema.xml of the ListTemplate.

MSDN:
A DefaultDescription element specifies the description that is displayed for the list definition in the UI.
This element is overridden by the Description attribute of the List element that corresponds to the current list definition that is specified within a configuration in Onet.xml.
Important: A value for this element must be specified in custom list definitions.

See sample below:

<List xmlns:ows="Microsoft SharePoint" Title="Tasks" >
   <MetaData>
      <ContentTypes>
      ...
      </ContentTypes>
      <Fields>
      ...
      </Fields>
      <Views>
      ...
      </Views>
      <DefaultDescription>$Resources:core,camlidT13;</DefaultDescription>
   </MetaData>
</List>

Links

comments powered by Disqus