This project has moved and is read-only. For the latest updates, please go here.


May 19, 2014 at 12:06 AM
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 3: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 9:53 AM
Thanks! Marc,