A Practical Guide to SharePoint 2013

A Practical Guide to SharePoint 2013
A Practical Guide to SharePoint 2013 - Book by Saifullah Shafiq

Wednesday, August 3, 2011

Getting XML data from SharePoint list (Via Hemanth )

Extract from the original post

Ever wondered how you can generate a XML file/data from a SharePoint list, Have you started to think on the possible code..wait!!, here is an easy solution.

Simply format the following string to form the request URL.

http://contoso/sites/sales/_vti_bin/owssvr.dll?Cmd=Display&List={GUID}&XMLDATA=TRUE&noredirect=true

· {0} – The URL to your site. This could be the root web or a child site.

· {1} – The GUID for your list.

Please refer the following MSDN article for a more detailed instructions

For complete blog post visit Hemanth’s blog.

No comments:

Post a Comment