WebQueryInfo Element
The WebQueryInfo element is used inside an HTML <TABLE> tag surrounding a view to add attributes that assist the agents processing Web queries in extracting data from SharePoint Team Services views.
Syntax
<WebQueryInfo>
</WebQueryInfo>
Related Elements
Parent Elements |
---|
ViewHeader |
Remarks
In particular, this element renders an ID on the <TABLE> tag, a Summary attribute set to the name of the list, and a WebQuerySourceHref attribute in the o: namespace that links to the XMLDATA representation of the view in question. Consequently, agents that understand these attributes can import a structured data view of team Web site lists instead of being forced to "screen scrape" for the data.
Example
In the following example the WebQueryInfo element is used in a ViewHeader section to provide an ID for a table that contains a view.
<ViewHeader>
<HTML>
<![CDATA[ <TABLE ID=" ]]>
</HTML>
<ows:WebQueryInfo />
<HTML>
<![CDATA[ " width="100%" border=0 rules=rows><TR VALIGN=TOP><FORM> ]]>
</HTML>
<Fields>
<HTML>
<![CDATA[ <TH class="ms-vh"> ]]>
</HTML>
<Field />
<HTML>
<![CDATA[ </TH> ]]>
</HTML>
</Fields>
<HTML>
<![CDATA[ </FORM></TR> ]]>
</HTML>
</ViewHeader>