Skip to Main Content
Essential SharePoint
book

Essential SharePoint

by Jeff Webb
May 2005
Beginner content levelBeginner
336 pages
10h 14m
English
O'Reilly Media, Inc.
Content preview from Essential SharePoint

Using URL Commands

URL commands get XML results from a SharePoint server through HTTP GET requests. You invoke the commands by specifying them as query strings in an address that has this form:

    http://server/subsite/_vti_bin/owssvr.dll?Cmd=cmdname&param=value&param=value ...

URL commands don't alter the content database, so they don't require authentication. The RPC protocol provides a similar approach, but uses HTTP POST instead of GET, and so can include authentication information and thus change content. Table 10-6 lists the commands that can be invoked through HTTP GET.

The List and View parameters in Table 10-6 are specified as GUIDs. See the following section, "Getting GUIDs," for how to get those values from the list or view names. The URL commands also accept the set of optional parameters in Table 10-7 to modify the returned results.

Table 10-6. SharePoint URL commands

Command

Parameters

Use to

Dialogview

dialogview, location, FileDialogFilterValue

Open the view used in a dialog box for opening or saving files to a document library; or open the custom property form that is used when saving a file to a document library.

Display

List, XMLDATA

Run a database query against the list and return XML or HTML.

DisplayPost

PostBody, URLBase

Render the Collaborative Application Markup Language (CAML) assigned to the PostBody parameter.

ExportList

List

Export in CAML format the schema of the list.

GetProjSchema

 

Request the XML schema for a web site.

GetUsageBlob ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

SharePoint User's Guide

SharePoint User's Guide

Infusion Development Corp. (Infusion Development Corporation)
Beginning SharePoint® 2010: Building Business Solutions with SharePoint

Beginning SharePoint® 2010: Building Business Solutions with SharePoint

Amanda Perran, Shane Perran, Jennifer Mason, Laura Rogers

Publisher Resources

ISBN: 0596008805Errata Page