Partager via


Site Schema

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

The Site schema of Introduction to Collaborative Application Markup Language (CAML) is used to define metadata for creating site collections and Web sites. A site definition specifies the navigation bars, list templates, document templates, list base types, configurations, modules, components, and server email footer for creating sites. The site definition is specified through an Onet.xml file located in Local_Drive:\Program Files\Common Files\Microsoft Shared\web server extenstions\12\TEMPLATE\SiteTemplates, and through a WebTemp.xml file located in \TEMPLATE\1033\XML.

Sites and Document or Meeting Workspace sites can be created or modified programmatically through the object model (for example, members of the SPWeb and SPWebCollection classes, or members of the SPSite and SPSiteCollection classes). They can also be remotely created or modified through the Administration Web service (methods of the Admin class), the Document Workspace Web service (methods of Dws), or the Meetings Web service (members of Meetings).

Site Elements

Onet.xml

Project

  NavBars

    NavBar

      NavBarLink

  ListTemplates

    ListTemplate

  DocumentTemplates

    DocumentTemplate

      DocumentTemplateFiles

        DocumentTemplateFile

  BaseTypes

    BaseType

      MetaData

        Fields

          Field

        Default

          Forms

            Form

  Configurations

    Configuration

      ExecuteUrl

      Lists

        List

          Data

            Rows

              Row

                Field

      Modules

        Module

      WebFeatures

        Feature

          Properties

            Property

      SiteFeatures

        Feature

          Properties

            Property

  Modules

    Module

      File

        AllUsersWebPart

        View

        NavBarPage

        Property

  Components

    ExternalSecurityProvider

    FileDialogPostProcessor

  ServerEmailFooter

WebTemp*.xml

Templates

  Template

    Configuration