Quantcast
Channel: jQuery Library for SharePoint Web Services
Viewing all articles
Browse latest Browse all 6517

New Post: Using UpdateListItems to update a list on another web..

$
0
0
Hi
I absolutely enjoy working with these libraries and have gotten so much work done in short time... However, I need to check on something with the UpdateListItems function.

I've got two separate SP 2010 Web applications (2 different ContentDB's). One is for customer collaboration and the other is our internal workflow and DB. What I am attempting to do is on the internal we create some list entries to start some project and then we create the same entries on the customer collaboration site (reduced number of fields).

So on the custom new case dialog in the internal website I call UpdateListItems to create a record on the cases list on the other collab site.

$().SPServices({
    operation: "UpdateListItems",
    webURL: "//cust.collabsite.com", 
    async: false,
    batchCmd: "New",
    listName: "Cases",
    valuepairs: [["Title", valPr[0]], ["Participant", valPr[1]], ["Project", valPr[2]],["BusinessManager", valPr[3]]],
    debug: true,
    completefunc: function(xData, Status) {
   if (Status == "success" ) {
    //alert("completed Create Record");
   }
    }
});
When I run this all the variables are populated with the proper data, the status = "Error" and the ResponseText = "No Transport"

I there a problem with trying to update a list on another contentDB?
Or maybe there's another way to handle this that I havn't tried???

Viewing all articles
Browse latest Browse all 6517

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>