Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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

share|improve this question

1 Answer 1

up vote 0 down vote accepted

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

share|improve this answer
    
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 Apr 30 '13 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. –  Mike Oryszak Apr 30 '13 at 13:19

Your Answer

 
discard

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.