SPC067701: Deploy missing image for WebTemplate

If a custom icon for a WebTemplate is defined in attribute 'ImageUrl' the file should be deployed to SharePoint if not a SharePoint default image is used.

TypeName: DeployMissingImageForWebTemplate
CheckId: SPC067701
Severity: CriticalWarning
Type: WebTemplateDefinition
Resolution

Add the necessary file to the solution as TemplateFile. See sample below:

<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
  <WebTemplate Name="WebTemplate"
    Title="Standard Site"
    BaseTemplateID="1"
    BaseTemplateName="STS"
    BaseConfigurationID="0"
    ImageUrl="/_layouts/images/CustomTemplate/WebTemplateImage.png"
    DisplayCategory="Custom" />
</Elements>

comments powered by Disqus