Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I'm using the Versions SP webservice, where I get the following message from:

<results xmlns="http://schemas.microsoft.com/sharepoint/soap/">
 <list id="{E0A3AEC1-A35E-47D6-8595-C89E75ECAA06}" />
 <versioning enabled="1" />
 <settings url="http://myurl/OpportunityService/_layouts/LstSetng.aspx?List={E0A3AEC1-A35E-47D6-8595-C89E75ECAA06}" />
 <result version="@2.0" url="http://myurl/OpportunityService/CRMDocuments/AZERTYUIOP/P-F-9999.99.ABCD.xlsx" created="10/8/2012 1:14 PM" createdRaw="2012-10-08T11:14:46Z" createdBy="SHAREPOINT\system" createdByName="System Account" size="109694" comments="" />
 <result version="1.0" url="http://myurl/OpportunityService/_vti_history/512/CRMDocuments/AZERTYUIOP/P-F-9999.99.ABCD.xlsx" created="10/8/2012 1:12 PM" createdRaw="2012-10-08T11:12:23Z" createdBy="SHAREPOINT\system" createdByName="System Account" size="110111" comments="" />
</results>

The problem here is that the latest version always returns the original URL, but what I really want, is an URL like the other versions (like /_vti_history/) Anyone an idea how to get this? (if possible)

share|improve this question
add comment

2 Answers 2

up vote 0 down vote accepted

Since this isn't possible, we redirect to an ASP.NET page which in his turn redirects to the URL of the version. We store the versionlabel in the querystring of this new page.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.