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

Is it only intended for use "inside" SharePoint?

Using the .Net/C# client object model I can execute applications on my local machine and access a remote SharePoint server.

I can only find examples for the JavaScript object model that use it on the same server.

There is a limitation in JavaScript about the same origin policy, but is that the only limitation of why JavaScript does not work remotly?

If so, what is the best way, from a Windows 8 RT

share|improve this question
up vote 2 down vote accepted

The JSOM provided by SharePoint is indeed intended to run only on SharePoint for custom solutions (or content editor web part content) within SharePoint. The required authentication, context setup, and core JS is provided on SharePoint pages by SharePoint.

As far as using JavaScript against a remote SharePoint site, you'd have to access SharePoint's web services. My answer to your other question should help with that: Best way to access SharePoint (online) from a Windows 8 RT/Metro application?

share|improve this answer
Thank you. A lot :) – Development 4.0 Mar 8 '13 at 18:08

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.