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


WebUrl not working



Fix the webURL option to also allow "webUrl".

I'm trying to connect to a list on a sub site and I'm trying to use WebUrl as such:
    operation: "GetListItems",
    webUrl: "/parent/subsite/subsitehostingthelist/",
    async: false,
    listName: "Questions",
    CAMLViewFields: "<ViewFields><FieldRef Name='Title' /></ViewFields>",
    completefunc: function (xData, Status) {
      $(xData.responseXML).SPFilterNode("z:row").each(function() {
        responses = $(this).attr("ows_Title") + "<br>";

and nothing is coming back, I've looked at the webUrl and even copied and pasted code and still nothing, am I missing something, is there a different way to connect to a list within a sub site?

The page I'm trying to do this from is running under a different sub site if that makes a difference
Closed Dec 16, 2014 at 6:34 PM by sympmarc
Fixed/deployed in 2014.02


sharepointguy12 wrote Nov 5, 2014 at 7:41 PM

I've tried webURL, WebURL, weburl, etc. and nothing. Could it be a permission issue on the list itself?

I even tried a fully qualified URL 'http://appname/site/subsite/lists/' and nothing

sympmarc wrote Nov 7, 2014 at 9:44 PM

webURL or webUrl are now acceptable in 2014.02ALPHA8