This documentation is archived and is not being maintained.

ListProperty Element

SharePoint 2003

The ListProperty element returns the value of a specified column in the List of Lists table.

Syntax

<ListProperty
  AutoHyperLink = "TRUE" | "FALSE"
  AutoNewLine = "TRUE" | "FALSE"
  Default = "Text"
  ForInstance = "TRUE" | "FALSE"
  HTMLEncode = "TRUE" | "FALSE"
  NoURLEncode = "TRUE" | "FALSE"
  Select = "Text"
  URLEncode = "TRUE" | "FALSE"
  URLEncodeAsURL = "TRUE" | "FALSE">
</ListProperty>

Attributes

NameDescription
AutoHyperLinkOptional Boolean. TRUE to surround text with <A> tags if the text appears like a hyperlink, for example, www.microsoft.com.
AutoNewLineOptional Boolean. TRUE to insert <BR> tags into the text stream and to replace multiple spaces with a nonbreaking space (&nbsp;).
DefaultOptional Text. Sets the default ProgID for the application that created the list.
ForInstanceOptional Boolean. TRUE to return the number of items belonging to the current Meeting Instance ID by filtering on the InstanceID field. If the list does not support multiple-instance data, returns the total number of items in the list.
HTMLEncodeOptional 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.
NoURLEncodeOptional Boolean. FALSE to convert special characters, such as spaces, to quoted Unicode format, for example, %u0020.
SelectRequired Text. Specifies a field in the List of Lists table.
URLEncodeOptional Boolean. TRUE to convert special characters, such as spaces, to quoted UTF-8 format, for example, %c3%ab for character ë.
URLEncodeAsURLOptional Boolean. Like URLEncode, but TRUE to specify that the string to encode is a path component of a URL and not to encode the forward slash ("/").

Example

The following example defines the link to display when the number of items exceeds the limit set for the page through the RowLimit element. The example uses the ListProperty element to return the URL for the default view.

<RowLimitExceeded>
   <HTML><![CDATA[<table class="ms-summarycustombody" cellpadding=0 cellspacing=0 border=0>
         <TR><TD Class="ms-vb"><a href="]]></HTML>
   <ListProperty Select='DefaultViewUrl'/>
   <HTML><![CDATA[" ID=onetidMoreEvts>]]></HTML>
   <HTML>(More Events...)</HTML>
   <HTML><![CDATA[</a></TD></TR>
      <tr><td height="8"><IMG SRC="/_layouts/images/blank.gif" width=1 height=8 alt=""></td></tr></table>]]></HTML>
</RowLimitExceeded>

Related Topics

Show: