SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

May I know how can one use SPServices to retrieve all the version history of a particular items in a SharePoint 2007 Server List? (If it is not possible via SPServices, are there other Javascript plugins similar to SPServices, that can retrieve all the version history?)


  debug: true,
  operation: "GetVersions",
  async: false,
  listName: "System1",
  completefunc: function (xData, Status) {
    $(xData.responseXML).find("[nodeName='z:\\row']").each(function() {
share|improve this question
up vote 5 down vote accepted

I believe that you are looking for this:

  operation: "GetVersionCollection",
  async: false,
  strlistID: "tester",
  strlistItemID: 1,
  strFieldName: "Information",
  completefunc: function (xData, Status) {
    $(xData.responseText).find("Version").each(function(i) {
      console.log("Name: " + $(this).attr("Information") + " Modified: " + $(this).attr("Modified"));

Just replace the word "tester" with the name of your List. Also replace the word "Information" with the name of your column (header).

Further details can be found in here -

share|improve this answer
This is brilliant. Hooking this up to a multi line text (append) field in list view on hover to show all history – Colbs Nov 20 '14 at 22:51

You should be able to get all of the versions of an item by calling the Versions Web Service with SPServices.

share|improve this answer
Hi Marc, do you have a sample code of SPServices retrieve a version history of a item in a SharePoint List 2007? – Anderson Karu Nov 18 '11 at 7:38
There are plenty of examples on the SPServices site that show how to use the Web Services and process the results. – Marc D Anderson Nov 19 '11 at 14:35
Hi Marc, I tried and added the code inside my question under 'Update 1' but could not get the web site to display the version history of my items in my SharePoint List called - System1. Any insight? – Anderson Karu Nov 21 '11 at 9:14
You're not looking for the right node. If you look at the SDK for that operation (link above), you'll see that the result isn't z:rows, but results. – Marc D Anderson Nov 23 '11 at 23:27
Thanks Marc, I think your GetVersionCollection written by you and discussed with LarryMorries ( is the one that I find useful and quite close (even though I have to specific which ID of the rows I want to retrieve the version history) – Anderson Karu Jan 5 '12 at 8:45

Your Answer


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.