Sign up ×
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?



share|improve this question

3 Answers 3

Try below,

    operation: "GetListItems",
    async: false,
    webURL: "http://abc", //Site collection URL which has the required List data
    listName: "Medi", //Your list name
    CAMLViewFields: "<ViewFields><FieldRef Name='Title' /></ViewFields>", //Add the internal names of required fields
    CAMLRowLimit: 10, //Row limit for the list querrying
    CAMLQuery:"<Query></Query>", //Include filters to the query
    CAMLQueryOptions:"<QueryOptions><ViewAttributes Scope='Recursive'/></QueryOptions>" //Query options
    completefunc: function(xData, Status) 
      //Code to do on a successful submisison

For getting familiriazed with SPService refer below link.

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 this:? –  Abe Miessler Aug 14 '12 at 18:11
Whoops! Thanks @Abe Miessler. –  Chris Jaynes Aug 14 '12 at 21:01

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

Your Answer


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.