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


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?


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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