in SharePoint 2010

Web Templates – What base template should I use?

I have had some interesting discussions with Wayne Ewington and others on what base template should you use for web templates.

A little background to what this base template means to web templates:

Web Templates depend on an existing site definition installed in the server. The general guideline is to always reference a site template that is always going to be present.

Let us take a look at the web templates Elements.xml file:

<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
  <WebTemplate
    Name="TechEdWebTemplate"
    Title="TechEd Web Template"
    BaseTemplateID="INSERT BASE TEMPLATE ID"
    BaseConfigurationID=" 0"
    BaseTemplateName="INSERT BASE TEMPLATE NAME"
    DisplayCategory="TechEd"
    Description="TechEd Web Template"
    Subweb="FALSE"/>
</Elements>

 

The highlighted attributes are what we are interested in.

So what do we use?

Read more here

Write a Comment

Comment

Time limit is exhausted. Please reload the CAPTCHA.