SPC016401: Declare property 'Title' in WebParts

WebPart should contain a title which is visible to the user in SharePoint.

TypeName: DeclareTitleInWebPartDefinition
CheckId: SPC016401
Severity: Error
Type: WebPartFile

The property 'Title' or 'Description' for a webpart are defined in the .webpart file as follows.

   <webPart xmlns="http://schemas.microsoft.com/WebPart/v3">
           <type name="TypeName, Version=VersionNumber, Culture=neutral, PublicKeyToken=PublicKeyToken" />
           <importErrorMessage>Cannot import this Web Part.</importErrorMessage>
               <property name="Title" type="string">WebPartTitle</property>
               <property name="Description" type="string">WebPartDescription</property>


comments powered by Disqus