This project has moved. For the latest updates, please go here.


May 18, 2014 at 11:06 PM
I want to use the operation 'GetVersionCollection' to recover history in a list in another site, how to change the web url for this operation?

Thanks for your help.
   operation: "GetVersionCollection",
   async: false,
   strlistID: 'list1',
   strlistItemID: 1,
   strFieldName: 'Titre',
   completefunc: function (xData, Status) {
       $(xData.responseText).find("Version").each(function (i) {

           $('#infos').append("Name: " + $(this).attr("Title") + " Modified: " + $(this).attr("Modified") + "<br>");

May 19, 2014 at 2:15 AM
You can change the context for most operations by providing the webURL. It looks something like this:
   webURL: "/sites/Demos",
where "/sites/Demos" is the site where the 'list1' list resides.

May 19, 2014 at 8:53 AM
Thanks! Marc,