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

New Post: Global Navigation across site collections (Peter Allen's) solution using SP Services NOT working !

$
0
0
Sumit:

Peter's post is an old one, and you are likely to run into a number of things you'll need to change. Debugging the script is really the only way you'll be able to get it working, given changes since Peter's post in jQuery and SPServices. You may also be using SharePoint 2010, which would require more changes, potentially.

One thing I spotted, however, is this:

$(xData.responseXML).find("[nodeName='z:row']").each(function() {

In jQuery 1.7+, this selector for the z:row namespace no longer works. I added the SPFilterNode function to SPServices to help with this. Because the selector above will find no items in the returned XML, it would help explain the results (none) you are seeing.

M.

Viewing all articles
Browse latest Browse all 6517

Trending Articles



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