1

My boss asked me today if it is possible to use Sharepoint list data into an external HTML website... in fact i have to create a newsletter and the news are already on a sharepoint site.

They are publishing news on their sharepoint but they'd like to recover the news from the sharepoint list and put them into the home page of the other website.

I saw some different possibilities using Jquery or JavaScript or else Json.

To the effect that i'm not a regular with these languages... First question: Is that possible? Because i think the two websites have differents servers. Second one: if yes, how can i do that?

  • 1
    Yes, and you have to use the approaches you have already listed (javascript with SharePoint Client Object Model, or REST) – Robert Lindgren Nov 7 '13 at 11:08
  • do you have any example of this? – n0r1s Nov 7 '13 at 11:19
5

First of Publish your data for public view you need to enable Anonymous access for this announcement and news lists.

Now Go to List -> List setting -> RSS Setting -> checked required columns -> click OK

Now open Announcement List RSS Feed Link form List Ribbon. using this link you can get data in to your HTML site.

In HTML site you can use third party RSS viewer control.

that's it. :)

  • Hello Jatin...Great Tips...but i have a problem. i created my rss feed well... Then i click on the RSS Feed Link in the List Ribbon. I get a page with my data. But then, when i copy/paste the url in my HTML test page...no data appears on my page... What did i do wrong? :S here's the link structure: mysharepoint/mysite/_layouts/15/listfeed.aspx?List=%7B2226E9A0-5143-4C15-B8BE-6CB35C78A92B%7D&Source=https%3A%2F%2Fmy%2Esharepoint%2Enet%2Fmysite%2FLists%2Fmylist%2FAllItems%2Easpx – n0r1s Nov 7 '13 at 15:26
  • Have you enable anonymous access for this list? due to permission issue it may be happen. – Jatin Ambaliya Nov 8 '13 at 5:33
  • yes it seems that it was the problem, i figured it out a few minutes after my comment ^^ – n0r1s Nov 13 '13 at 9:08
  • Hello, the client doesn't approve the rss feed. Is there any chance to succeed by recover the datas in ASP and then créate an HTML page? – n0r1s Nov 14 '13 at 8:25
  • another way is you can use sharepoint client object model to retrive data from sharepoint list.refer this [link] (ojasmaru.blogspot.in/2012/08/…) – Jatin Ambaliya Nov 14 '13 at 9:30

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.