SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

So basically the problem is: I have one farm that I have limited access to. I need to access that farm to get information to another farm. I.E Top navigation needs to be in sync w/the other farms. I just want to know if this is possible using c# code behind?

share|improve this question

In 2010 and 2013, you have the SharePoint Client Object Model. Using this you can create C# code that runs outside of the context of the farm being accessed. For some examples, see

share|improve this answer

There could be many posibilities, with regard to what kind of data you try to access. In your case, because you are interested only in navigation you could use a similar approach as described for the "Cross site collection navigations" - see here - the key being the part making a simple WebRequest retrieve and serialize as JSON (many JQuery components can use this as data source).

Another approach is to connect to the Web Services of that particular Farm direclty - but it also means that you need to figure our what Web Application / Site Collection you are actually targetting - see here I'm not actually aware whether you get a "Navigation" related web service, but you could find all here

Finally, i believe you also need to understand what "navigation" you are actually targeting, as the actual navigation is always handled via navigation providers - explained quite well here

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.