Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I have a list (Links template) of URLs that is on a site collection and I was wondering if it is possible to include this list as a jQuery megamenu on another site - ideally another web application on the farm.

I hear it is not possible with the Client Object Model but was wondering about the SharePoint REST services using knockout.js or SPServices?

Has anyone done this and can provide examples?

Thanks,

Greg

share|improve this question
4  
0% acceptance rate? maybe you should increase it. You will raise your chances of getting help. –  Steve B Jun 18 '12 at 7:30

2 Answers 2

SPServices doesn't "do" REST (yet), but the SOAP Web Services which it does support may well work for you. You can pass a webURL to many Web Services operations (as noted in the docs), including GetListItems, which sounds like the one you want.

I've seen way too many truly odd network topologies and authentication models to say whether this will work in your situation or not, but it may well do it.

Set it up and if it doesn't work initially take a look at the Net traffic with Firebug or Fiddler to see where things are getting stuck.

share|improve this answer

Depending on your version of SharePoint, and how you've got it configured, it's really easy to use Jquery to invoke REST services.

The URLs look something like this:

http://[YOUR SERVER]/_vti_bin/listdata.svc/[YOUR LIST NAME]

The URL, including the list name, is case sensitive.

The official Microsoft documentation has a basic example using Jquery (scroll down to 'Using the REST Interface from Javascript').

You can find more examples here and here.

share|improve this answer
    
Did you leave something out after ...like this:? –  Abe Miessler Aug 14 '12 at 18:11
    
Whoops! Thanks @Abe Miessler. –  Chris Jaynes Aug 14 '12 at 21:01

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.