ListUrlDir element (View)

Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013

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

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

Elements and attributes

The following sections describe attributes, child elements, and parent elements.

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, 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