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

New Post: Query 2007 List form 2010 Environment

$
0
0
Tried that, now it does not appear to be making the call from what I can see...
Updated code:
$(document).ready(function () {
           $().SPServices({
               webURL: "http://spsite/research/blog/",
               operation: "GetListItems",
               async: false,
               listName: "Posts",
               CAMLViewFields: "<ViewFields><FieldRef Name=\"Title\" /></ViewFields>",
               completefunc: function (xData, Status) {
                   $(xData.responseXML).SPFilterNode("z:row").each(function () {
                       var title = $(this).attr("ows_Title");
                       
                       $("#list").append("<li>" + title + "</li>");
                   });
               }
           });
       });
Update:
I changed the code to try the following--
  1. Access a list on the same sharepoint instance in another web... worked
  2. Access a sp2010 list in another environment ....didn't work

Viewing all articles
Browse latest Browse all 6517

Trending Articles



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