HttpPath element (View)
Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013
Returns the path to the appropriate OWSSVR.DLL file.
<HttpPath
ForInstance = "TRUE" | "FALSE"
HTMLEncode = "TRUE" | "FALSE"
ServerRel = "TRUE" | "FALSE"
URLEncodeAsURL = "TRUE" | "FALSE">
</HttpPath>
Elements and attributes
The following sections describe attributes, child elements, and parent elements.
Attributes
Attribute | Description |
---|---|
ForInstance |
Optional Boolean. |
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
Remarks
By default, this element appends CS=XXX, where XXX is the Microsoft Office SharePoint Designer 2007 character set (for example, 109 = UTF-8) of the page that contains the element. This allows the form handler to properly interpret data coming from the browser, which is encoded by using the character set and the encoding of the page that contains the form. <HttpPath/>
returns http://
Server_Name /_vti_bin/owssvr.dll?CS=109
.
Prevent the character set from being represented by setting the CS attribute to FALSE. For example, <HttpPath CS="FALSE"/>
returns http://
Server_Name /_vti_bin/owssvr.dll
.