Search code examples
cordovasharepointoffice365office365-appsoffice365api

Retrieve O365 SharePoint lists from Cordova hybrid mobile app


I have scoured the web looking for a way to retrieve SharePoint Online lists inside a Cordova hybrid app in Visual Studio 2015. I've found many samples for reading/writing to my Calendar (Woodgrove Demo) and retrieving my contacts (Cordova Contact App Sample) and they all worked well and helped me learn how to get past the authentication step.

Now I am looking for a way to bring down some SharePoint list data and display it in my app. I haven't been able to find a straightforward explanation or demonstration of how to do this. Is there anyone out there who has done this or can point me to a sample app that does this? I am a newby at O365 development, am I looking to use the O365 api to retrieve the list data or the REST api or something different all together?

I would greatly appreciate any help!


Solution

  • Here are some sample apps for building on the Office 365 API. This article is a quick example of getting SharePoint files.

    This is the best example I've seen on how to add a connected service to your cordova app for SharePoint Online. Good luck!