ProjectProperty Element

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

Syntax

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

Attributes

Name Description
HTMLEncode Optional Boolean. TRUE to convert 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 the property to select.

Example

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

<ProjectProperty Select="Title"/>