Share via


GetProjSchema Method

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.

Requests the XML schema for a Web site based on Windows SharePoint Services.

<Method ID="Text>
  <SetVar Name="Cmd">GetProjSchema</SetVar>
  <SetVar Name="SiteTemplate">Text</SetVar>
</Method>

Parameters

Parameter

Description

ID = "Text"

Application-specific string. In an HTML editor compatible with Windows SharePoint Services, such as Microsoft Office SharePoint Designer 2007, the string provides the sequence number and name of the method.

Name = "Cmd"

Must be set to GetProjSchema.

Name = "SiteTemplate"

Specifies that one of the three Collaborative Application Markup Language (CAML) schema files that are listed in the following table is returned.

Following are the possible CAML schema files that can be returned for the SiteTemplate parameter.

Value

File

Description

docicon

DOCICON.XML

Contains a list of file types recognized by Windows SharePoint Services (for example, for document library items and attachments), and maps them to the appropriate icons. This file can also be used to specify a custom ActiveX control for opening certain file types in an application.

fldtypes

FLDTYPES.XML

Contains the CAML that defines the base field types used in lists, describing the sort of data that is stored in each field and how the data is rendered.

vwstyles

VWSTYLES.XML

Defines the CAML for the view styles that can be applied in custom views.

If the SiteTemplate parameter is set to anything other than one of the previous values, then the GetProjSchema method returns the XML schema of the site.

Decoded

<Method ID="0,GetProjSchema">
  <SetVar Name="Cmd">GetProjSchema</SetVar>
</Method>