Quantcast
Channel: jQuery Library for SharePoint Web Services
Viewing all articles
Browse latest Browse all 6517

New Post: GetVersions Method

$
0
0
Hi ,

I am using GetVersions method in sharepoint 2010 to get the current page version history.
var url =window.location;

$().SPServices({
operation: "GetVersions",
fileName: url,
completefunc: function (xData, Status) {
    // Do other stuff...
    alert(Status); 
For some pages Status alert is showing success and for some pages alert message is showing as error.

error message "Value Cannot be null"

Let me know if I am missing something.

Thanks in Advance,
Satish

Viewing all articles
Browse latest Browse all 6517

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>