/onedrive-texteditor-js

Simple single-page JavaScript app for editing text files

Primary LanguageJavaScriptOtherNOASSERTION

OneDrive Text Editor Sample

This sample application provides a simple markdown (text) editor experience for files stored in OneDrive.

It demonstrates the following:

  • Using the OneDrive file picker to select files from OneDrive personal and OneDrive for Business.
  • Downloading the contents of a file from OneDrive
  • Saving a file back to OneDrive
  • Using the Microsoft Graph to retrieve a sharing link

This is written as a single-page JavaScript application and can be hosted on any HTTPS compatible server.

App Registration

To register an app to use the v7 OneDrive Picker visit the Microsoft Apps Registration Page.