共用方式為


Major CAML Files

Applies to: SharePoint Foundation 2010

Many critical files in Microsoft SharePoint Foundation use Collaborative Application Markup Language Core Schemas to define how data is displayed and how HTML is rendered.

CAML Files

The following table describes the major schema files that use Collaborative Application Markup Language Core Schemas for data definition or HTML rendering, and specifies their locations under %ProgramFiles%\Common Files\Microsoft Shared\web server extensions\14\.

Warning

With the exception of DocIcon.xml, Microsoft does not support modifying any of the built-in files that are installed with SharePoint Foundation. In most cases, you can supplement or override the effects of these files with files of your own. For details about modifying the effect of any specific file, see the SDK’s documentation of the extensibility area to which the file belongs.

File name

Location

Description

DocIcon.xml

\TEMPLATE\XML

Specifies the icons that represent specific types of documents in document libraries. For more information, see Understanding DocIcon.xml Files.

WebTemp.xml files

\TEMPLATE\LCID\XML folder, where LCID is the numeric ID of the language/culture

Itemizes the site definitions and their child configurations. Also, determines whether and how the configurations are available for selection by users in the SharePoint Foundation UI. For more information, see Understanding WebTemp*.xml Files.

Onet.xml

One in \TEMPLATE\GLOBAL\XML. Others in subfolders of \TEMPLATE\SiteTemplates.

Specifies the details of the configurations that constitute a site definition. For more information, see Understanding Onet.xml Files.

Schema.xml

\TEMPLATE\FEATURES\featurename, where featurename is the name of the parent feature of the list type.

Defines a specific type of list. For more information, see Understanding Schema.xml Files.

alerttemplates.xml and alerttemplates_SMS.xml

\TEMPLATE\XML

Defines the format, contents, and properties used to create alert e-mail and SMS messages.

STDVIEW.XML

\TEMPLATE\GLOBAL\XML

Defines the base view used in a site definition when creating new views.

VWSTYLES.XML

\TEMPLATE \GLOBAL\XML

Defines the styles for viewing list data that are available on the Create View page for the list.

BASE.XML

\TEMPLATE \XML

Provides the schemas used in creating the Lists, Documents, and UserInfo tables in the database when a new site is provisioned.

DEADWEB.XML

\TEMPLATE\LCID\XML folder, where LCID is the numeric ID of the language/culture

Defines the message that is sent to the owner of a site to confirm site usage or to warn that the site will be automatically deleted.

FldTypes.xml

\TEMPLATE\XML

Used during site or list creation to define how field types are rendered in the different modes for viewing list data. For more information, see Understanding the FldTypes.xml File.

RGNLSTNG.XML

\TEMPLATE\LCID\XML folder, where LCID is the numeric ID of the language/culture

Specifies the regional settings for currency, language, locale, and time zone.

htmltransinfo.xml

\TEMPLATE\XML

Contains mapping instructions for directing a request to the URL for handling a request when the client computer does not have Microsoft Office installed.

See Also

Tasks

How to: Create a Custom Site Definition and Configuration

Concepts

Site Types: WebTemplates and Site Definitions

Using Features in SharePoint Foundation