Thursday, September 08, 2005 3:45 PM Jan Tielens

SharePoint RPC Services via the URL Protocol

I knew that I had seen this sometime somewhere when I was looking for it. Even my SharePoint buddy didn't know how to pull off this little trick. But thanks to Chan's post, I now have a link to the solution! :-) You can get the HTML to display contents of a Document Library or a List (just a list of items, no toolbars) by using the RPC protocol, the nice thing is that you can also use RPC by providing parameters in the URL. For example this URL

http://[Server]/[Site Path]/_vti_bin/owssvr.dll?dialogview=FileOpen&location=Shared%20Documents

would display the contents of the Document Library. Cool trick and very nice in combination with a Page Viewer Web Part for example. More info and screenshots on Chan's blog. Thanks Chan!

Filed under:

Comments

# re: SharePoint RPC Services via the URL Protocol

Tuesday, September 13, 2005 8:44 AM by Robert te Kaat

How do I get it to render the contents of a LIST of even better, a VIEW of a list. According to the MS-specs, I would expect something like:
http://portal/sites/myproject/_vti_bin/owssvr.dll?cmd=Display&List={38935D12-E871-460D-9CF3-47A620E0E14C}&View={00AF6CA7-EE9A-41BC-9B9C-3AF1FC83EC11}&XMLDATA=TRUE&URLBase=http://portal/sites/myproject/Lists/Risicos/active.aspx
But I don't get any results. I tried other things, but best thing I ended up was the list contents as a bunch of XML, but I need HTML!

# re: SharePoint RPC Services via the URL Protocol

Monday, September 19, 2005 2:00 AM by Luis Du Solier G

Great Post.

Is there a way to do it for viewing any kind of info, or webpart?

Luis Du Solier G
http://spaces.msn.com/members/lduso

# re: SharePoint RPC Services via the URL Protocol

Thursday, March 08, 2007 11:23 AM by Hans Meijer

Hey Jan,

If i try this trick (using SaveForm parameter to show de saveform dialog of an certain document in a documentlibrary) with wss 3.0 the page is not rendered correctly. If i examine the source of the page, the controls are there but they not visible in the browser. I've added some custom fields as explained on MSDN. Any tips?

Greeting Hans

# re: SharePoint RPC Services via the URL Protocol

Tuesday, June 12, 2007 4:06 PM by Oskar Austegard

Hmm - can't get that to work - could you give an example of the "normal" url, along with the RPC Protocolled version?