Sunday, March 24, 2013

WebTemplate’s in SharePoint 2010


It is a New Feature Introduce in SharePoint 2010 can use as a Sandbox solution architecture
* Its allows deployment at site collection level
* Most of "Site Definitions" features are in the web template
* Web templates were based on existing site definition
* It Does not support Document Templates
* Only one Configuration
* It is best approach to control environment

WebTemplate Element

It specifies the default behavior the template
There are 3 required attributes
    - BaseTemplateID
    - BaseTemplateName
    - BaseConfigurationID
    - Name
Optional Attribute
    - Titke
    - AlternateCssUrl
    - CustOmJS

Onet.xml

It contain NavBars and Configuration Elements but not ListTemplate, DocumentTemplate, Modules, ServerEmailFooter
like Site Definition

One Configuration

Some attributes of project are superseded by WebTemplate attribute

It use features instead of Module