Sunday, November 13, 2011

Site Definition and Web Template

Web Template is stored in the Solutions Gallery of the site collection and the solution can also be deployed as a sandboxed solutions to other site collections.


Site definition consists of a combination of files that are placed in the %ProgramFiles%\Common Files\Microsoft Shared\web server extensions\14\TEMPLATE\SiteTemplates. You can adjust the physical storage capacity required by site collection.
(1) WebTemp*.xml
      Identify the site definitions and configurations and provide information about how they appear in the user interface (UI) to users who are creating new websites.
(2) Onet.xml
     Define the navigation areas, specify the list definitions available in the UI, specify document templates and their files, define the base types for lists, and define configurations and modules for site definitions.


Site Definition vs Web Template 
-The user context in which a web template is deployed does not have to have access to the file system of the servers.
-Custom web templates can be modified without affecting existing sites that have been created from the templates.

No comments:

Post a Comment