OWSSVR.dll tricks

1. Returning all data for a SharePoint list, including its XSD:

http://DemoApp/%5Bsite%5D/_vti_bin/owssvr.dll?Cmd=Display&List={ListGuid}&Query=*&XMLDATA=TRUE

2. Returning all data for a SharePoint list based on a specific view from the list:

http://DemoApp/%5Bsite%5D/_vti_bin/owssvr.dll?Cmd=Display&List={ListGuid}&View={ViewGuid}&XMLDATA=TRUE

3. Returning SharePoint List definition information.

http://DemoApp/%5Bsite%5D/_vti_bin/owssvr.dll?Cmd=ExportList&List={ListGuid}

4. Returning ONET.XML (site definition) that was used to create a web site:

http://DemoApp/%5Bsite%5D/_vti_bin/owssvr.dll?Cmd=GetProjSchema

5. Returning all field types registered into SharePoint

http://DemoApp/%5Bsite%5D/_vti_bin/owssvr.dll?Cmd=GetProjSchema&SiteTemplate=fldtypes

Advertisements
This entry was posted in SharePoint and tagged . Bookmark the permalink.

One Response to OWSSVR.dll tricks

  1. Angela Gosselin says:

    Hi Ahmed, can I use your solution for getting all data from a view in Infopath data connection? Having an issue with a form I have published to one site collection looking up data for the user that exists in another site collection. My InfoPath view rules are built based on the data that should come back.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s