O'Reilly logo

Professional SharePoint® 2007 Development by Tom Rizzo, Adam Buenz, J. Dan Attis, Matt Ranlett, Brendon Schwartz, Eli Robillard, Jeff Julian, John Alexander, John Holliday

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

4.1. Site Definitions

A Site Definition is used to determine the initial look and feel as well as contain the core functionality of a site when it is provisioned. A Site Definition is defined as a collection of files that reside in a subdirectory located in the [WSS]\TEMPLATE\SiteTemplates folder on each of the front-end web servers. The WSS v3 installer currently places this folder deep in the Program Files area, with the typical address of C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\. The rest of this chapter uses the notation [WSS] to represent this folder path.

The out-of-the-box Site Definitions supplied with WSS v3 are listed in the following table. Multiple Site Definitions within the same folder location are defined as individual configurations within Onet.xml (discussed soon). All of these are visible any time a user chooses to create a new site by clicking on the Sites and Workspaces link on the Create page accessed via the Site Actions menu. Custom Site Definitions appear here as well as WSS v3 is made aware of them. The process to create and deploy a Site Definition is demonstrated later in the chapter.

Template NameTemplate CategoryLocation
Team SiteCollaboration[WSS]\TEMPLATE\SiteTemplates\sts
Blank SiteCollaboration[WSS]\TEMPLATE\SiteTemplates\sts
Document WorkspaceCollaboration[WSS]\TEMPLATE\SiteTemplates\sts
Wiki SiteCollaboration[WSS]\TEMPLATE\SiteTemplates\Wiki
BlogCollaboration[WSS]\TEMPLATE\SiteTemplates\Blog
Basic Meeting Workspace

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required