I would like to refer more column in "strFieldName" of SPService.If i refer one column, its working fine...But I need to get both the columns...

  operation: "GetVersionCollection",
  async: false,
  strlistID: "<List Name>",
  strlistItemID: 31,
  strFieldName: <'Column1','Column2'>,
  completefunc: function (xData, Status) {
    $(xData.responseText).find("Version").each(function(i) {
      console.log("Purpose Text: " + $(this).attr("Column1"));
      console.log("Modified Date : "+$(this).attr("COlumn2"))

1 Answer 1


SPServices is only a wrapper around the (oldish) Microsoft SOAP services,

So this has nothing to do with SPServices

The SOAP interface:

dictates one strFieldName is required

for alternatives see:

How to get a old version of list item?

Retrieving SharePoint file version properties from the web API

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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