:: Home     :: Add Questions
Register   |   Login
 

Overview of custom templates in SharePoint Portal Server 2003 and in Windows SharePoint Services

SUMMARY

This article contains information about site definition and custom templates that are used in Windows SharePoint Services, and discusses some considerations and limitations that apply when you customize templates for use in SharePoint Portal Server.

MORE INFORMATION

Windows SharePoint Services uses two types of templates:
• Site definitions:
Site definitions include the set of basic pages and schema where all SharePoint sites and lists are derived. Site definitions contain all the configuration data for the site, and are stored on the file system of each front-end Web server as Web pages and XML files (including the Onet.xml file). A site definition can actually contain multiple configurations, but all the configuration data in a site definition uses the same set of lists that a user can create. For example, the Social Meeting, Multipage Meeting, and Decision Meeting templates that are listed on the Template Selection page are based on the Meetings site definition.
• Custom templates:
You can save an existing site as a custom template (.stp file). An .stp file contains only the information about what is customized in the site and does not contain the definition of the whole site. Custom templates are a way of packaging up a set of changes to an existing site definition and making those available for new sites and lists. Every custom template is based on a site definition. Custom templates are stored in the database and are made available through the central template gallery or through site collection template galleries. When you save an existing site as a custom template, the .stp file is added to the site template document library in the root of the site collection and can be used by all subsites.
To create a .stp file, follow these steps:

1. On the site, click Site Settings.
2. Under Administration, click Go to Site Administration.
3. Under Management and Statistics, click Save site as template.
4. In the File name box, type the file name to use for the site template file.
5. In the Template title box, type the title that you want to use for the template in the site template gallery.
6. In the Template description box, type a description for the site template.
7. If you want to include the existing site content, click to select the Include content check box.
8. Click OK.

Overview of custom templates in SharePoint Portal Server 2003 and in Windows SharePoint Services

::Top Tags::
 
 
Copyright 2007, Megasolutions Ltd