ListUrlDir Element (View)

Applies to: SharePoint Foundation 2010

Renders the absolute URL of the list's home directory.

<ListUrlDir
  ForInstance = "TRUE" | "FALSE"
  HTMLEncode = "TRUE" | "FALSE"
  ServerRel = "TRUE" | "FALSE"
  URLEncodeAsURL = "TRUE" | "FALSE">
</ListUrlDir>

Attributes

Attribute

Description

ForInstance

Optional Boolean. TRUE to render the subfolder URL of the current meeting instance. If the document library does not support multiple-instance data, then the root URL of the document library is rendered.

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.

ServerRel

Optional Boolean. TRUE to specify that the URL is relative instead of absolute.

URLEncodeAsURL

Optional Boolean. Like URLEncode, but TRUE to specify that the string to encode is a path component of a URL so that forward slashes ("/") are not encoded.

Child Elements

None

Parent Elements

Numerous

Occurrences

Minimum: 0

Maximum: Unbounded

See Also

Reference

ListTemplate Element (Site)