SPC017702: Derive WebTemplate from an existing Template

A WebTemplate must derive from an existing Template, e.g from a template in TEMPLATE\1033\XML\WEBTEMP.xml.

TypeName: DefineValidParentWebTemplate
CheckId: SPC017702
Severity: Error
Type: WebTemplateDefinition
Resolution

The attributes BaseTemplateID, BaseTemplateName and BaseConfigurationID must map to an existing Template. See sample below.

Existing Template from which the WebTemplate is derived (defined in TEMPLATE\1033\XML\WEBTEMP.xml):

<Templates xmlns:ows="Microsoft SharePoint">
...
  <Template Name="BLOG" ID="9">
    <Configuration ID="0" ... />
  </Template>
  ...
</Templates>
Correct corresponding values in WebTemplate:
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
  <WebTemplate
    ...
    BaseTemplateID="9"
    BaseTemplateName="BLOG"  
    BaseConfigurationID="0"  
    Name="BlogIV"  
    ... />
</Elements>

Links

comments powered by Disqus