I'm trying to get files and lists from my Sharepoint server showed on another website. How should I do to make a document viewable on the webpage, that is exported from SP2013? I also want to search for the files metadata on the website and be able to download the documents.

I've been Reading about REST and Json and think that is what I should use.

Would really appreciate someone helping me at the right direction.

Best regards, Blenni

1 Answer 1


If the second website is setup for anonymous access, then you will need to figure out how you are going to authenticate to the SharePoint site using an account that has access to the documents. You could potentially run an export process on a scheduled basis, or fire it via a workflow when a document changes on the source side. I've done this for pushing out content to anonymous sites before.

Using the REST services is your best bet for querying the files from other website since you can use that to connect to SharePoint from a remote system.

Here are some references for the REST services:

REST Overview

Querying Lists with REST

  • Thanks for the links and tip! Gave me a better view on how to use the REST interface. But are you able to "export" the document files content like word documents in the lists? And do I have to use Json for this? I could not find any good examples.
    – Blenni
    Commented Apr 30, 2013 at 13:10
  • To export the documents you would typically make a connection to the document and then open a bitstream that can then be saved somewhere else. Commented Apr 30, 2013 at 13:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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