Accessing SharePoint Online List Data

Apr 26, 2012 at 3:54 AM

I am trying to access information stored on a SharePoint Online list using Javascript. Does datajs support this scenario already or can it be made to?

Apr 26, 2012 at 11:49 PM

Hi ru1fdo,

   Datajs out of the box will support it as long as your sharepoint list exposes its data using OData. You just need to use the or OData.request methods and point them to the odata endpoint of your list.  For example, a url like the one below will get you the service document of all the lists in your site


   This one will get you to a particular list in your site exposed as an odata feed



Alex Trigo.

Apr 27, 2012 at 4:26 AM

Hi Alex,

Thank you so much for the response. However, I am interested in accessing a list on SharePoint ONLINE versus an on-premise SharePoint instance. Given the authentication that is in use on SharePoint online and the lack of control that we have over the MS implementation, do you know if this is accessible?

Thanks in advance,


May 3, 2012 at 12:18 AM

Hi Ruwan,

   Sorry I misunderstood what you meant by Sharepoint Online. Can you explain your scenario a little bit more?  By the way, I think this link will help you on getting started on how to access a list in Sharepoint Online as an OData feed


Alex Trigo.