Hi Marc,
I wanted to know if it is possible to delete items on a list sitting on a separate site collection to where you are running the script from.
Forget about why I want this done. I have been successful in using the "CopyIntoItemsLocal" to copy a document from a site collection into another. And now I want a mechanism to delete it.
By, the way I am using __Office 365 for sharepoint 2010__.
Just to try out the code, I have tried the webURL within "GetList" to see if I can connect and get a response, but I do not get back any response. See code below:
I wanted to know if it is possible to delete items on a list sitting on a separate site collection to where you are running the script from.
Forget about why I want this done. I have been successful in using the "CopyIntoItemsLocal" to copy a document from a site collection into another. And now I want a mechanism to delete it.
By, the way I am using __Office 365 for sharepoint 2010__.
Just to try out the code, I have tried the webURL within "GetList" to see if I can connect and get a response, but I do not get back any response. See code below:
$().SPServices({
operation: "GetList",
async: false,
webURL: "http://testcloud-web.sharepoint.com",
listName: "List1",
completefunc: function(xData, Status) {
alert("Status=" + Status + " XML=" + xData.responseXML.xml);
}
});