Skip to Main Content
Essential SharePoint
book

Essential SharePoint

by Jeff Webb
May 2005
Beginner content levelBeginner
336 pages
10h 14m
English
O'Reilly Media, Inc.
Content preview from Essential SharePoint

Creating Site Definitions

It is interesting to note that if you don't change a built-in page, SharePoint doesn't include it in the custom template. In that case, the built-in page comes from the SharePoint site definition.

Viewing changed pages in a template file

Figure 3-5. Viewing changed pages in a template file

Site definitions are how SharePoint provides predefined templates. These definitions are made up of a number of files that reside on the SharePoint server's file system. You can view the site definitions by browsing the SharePoint server's C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\60\TEMPLATE folder.

SharePoint groups the site definitions into two subfolders: .\1033\STS contains the site definition for the Team, Document Workspace, and Blank site templates; .\1033\MPS contains the site definition for the Meeting workspace site templates. Table 3-3 lists the files SharePoint uses to locate, define, and set the content for its site definitions.

Table 3-3. SharePoint site-definition files

File(s)

Use to

Location

DocIcon.xml

Add file types and control how those files are opened from all sites.

.\XML

WebTemp.xml

Add or hide site definitions.

.\1033\XML

Default.aspx

Define scripts and layout of the home page for the site.

.\1033\STS or .\1033\MPS

ONet.xml

Define the navigation areas, list definitions, document templates, default lists, configurations, and modules for ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

SharePoint User's Guide

SharePoint User's Guide

Infusion Development Corp. (Infusion Development Corporation)
Beginning SharePoint® 2010: Building Business Solutions with SharePoint

Beginning SharePoint® 2010: Building Business Solutions with SharePoint

Amanda Perran, Shane Perran, Jennifer Mason, Laura Rogers

Publisher Resources

ISBN: 0596008805Errata Page