ProjectProperty Element

The ProjectProperty element can be used to return a global property of the current SharePoint team Web site.

Syntax

<ProjectProperty
  HTMLEncode = "TRUE" | "FALSE"
  Select = "Text">
</ProjectProperty>

Attributes

Name Description
HTMLEncode Optional Boolean. Converts embedded characters so that they are displayed as text in the browser. In other words, characters that could be confused with HTML tags are converted to entities.
Select Required Text. Specifies the name of property to select.
Parent Elements
Value, XML

Example

The following line of code returns the Title property from the current Web site.

<ProjectProperty Select="Title"/>

See Also

ListProperty

Property

Universal Attributes for Page Rendering Elements