Project Element (Site)
Published: May 2010
Serves as the top-level element in an Onet.xml file that contains a site definition configuration or Web template configuration for a new Web site.
<Project AlternateCSS = "Text" AlternateHeader = "Text" AlternateUrl = "Text" CustomJSUrl = "Text" DisableWebDesignFeatures = "Text" ListDir = "Text" Revision = "Integer" SiteLogoUrl = "Text" SiteLogoDescription = "Text" Title = "Text" UIVersion = "Integer"> </Project>
|
Attribute |
Description |
|---|---|
|
AlternateCSS |
Optional Text. Used to specify the name of an alternate cascading style sheets (CSS) file located in the %ProgramFiles%\Common Files\Microsoft Shared\web server extensions\14\TEMPLATE\LAYOUTS\lcid\STYLES directory (where lcid is the ID of a language/culture; for example, 1033 for English) that defines styles to use in the configuration. |
|
AlternateHeader |
Optional Text. Used to specify the name of an ASPX page located in the %ProgramFiles%\Common Files\Microsoft Shared\web server extensions\14\TEMPLATE\LAYOUTS directory that defines an alternate header for the top area in site pages. This attribute provides a means to replace the header region of a page with the output of an ASPX page that defines a different header. For example, add AlternateHeader="myHeader.aspx" to the Project element to specify myHeader.aspx as the name of the file that provides an alternate header. |
|
AlternateUrl |
Optional Text. |
|
CustomJSUrl |
Optional Text. Specifies a custom JavaScript file located in the %ProgramFiles%\Common Files\Microsoft Shared\web server extensions\14\TEMPLATE\LAYOUTS directory that contains script to execute within a site created from the site definition. |
|
DisableWebDesignFeatures |
Optional Text. Blocks specific editing features that are used in SharePoint Designer. Possible values include the following, which can be delimited using semicolons:
|
|
ListDir |
Required Text. Specifies the directory in which to implement new lists. |
|
Revision |
Optional Integer. Specifies the build number of the site definition. |
|
SiteLogoUrl |
Optional Text. Specifies a server-relative URL for a custom image to use for the site logo. For example, /_layouts//images/MyCustomLogo.gif. |
|
SiteLogoDescription |
Optional Text. Provides a description of the site logo. |
|
Title |
Required Text. Specifies a default name for Web sites that are created from the site definition. |
|
UIVersion |
Optional Integer. Specifies the version of the SharePoint Foundation UI that is being used by the sites based on the site definition. |
- 4/25/2012
- Sohel Rana