Solved

Getting versions of Discussion library using versions.asmx gives exception

Posted on 2009-03-31
5
663 Views
Last Modified: 2012-05-06
Hi,

I am using versions.asmx to retrive different versions of list item. This webservice has method getversions which takes filename as parameter. the filename parameter is of path ListName\ListId. But when i try to put discussion library filepath it gives me SoapServerException. Its details gives me the file path defined does not exist. If anybody has used this web service for discussion to retrieve the versions of discussions and reply then please let me know.
0
Comment
Question by:econcepts
  • 3
5 Comments
 
LVL 4

Expert Comment

by:lionel_barre
ID: 24036832
The version.asmx Web Service can only be used to retriev version values of files (i.e. SPFile objects).
If you point it to a Url that is not a file stored in SHarePoint it will raise an error
0
 

Author Comment

by:econcepts
ID: 24037317
Thanks for your reply.
Is there any way to get versions of Discussion or folder present in a list by using web service.

0
 
LVL 4

Accepted Solution

by:
lionel_barre earned 50 total points
ID: 24037827
No standard WebService to my knowledge will give you that information, you can write your own however : http://msdn.microsoft.com/en-us/library/ms464040.aspx
 
0
 
LVL 4

Expert Comment

by:lionel_barre
ID: 24166672
Did this work out for you?
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For SharePoint sites, particularly public-facing ones, there are times when adding JavaScript, Meta Tags, CSS Styles or other content to the page <head> section is more practical than modifying master pages.  For instance, you could add the jQuery l…
Summary In SharePoint 2010 it is easy to create custom color themes to jazz up a site. Theme colors can also be created in PowerPoint 2010 with a few clicks. But how do the chosen colors actually look in the SharePoint site? The attached PowerPoint…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

680 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question