Open PDF files in Microsoft OneDrive
Nutrient OneDrive SDK supports opening files from a SharePoint Online file handler(opens in a new tab). For more information, see our guide on how to get started with a SharePoint Online file handler.
File handlers instruct OneDrive to redirect to your URL of choice whenever a file with a particular extension is clicked. By using a file handler, you override OneDrive’s default behavior so that PDF files are opened directly inside your application. Any edits to the opened files using your application can then be directly saved back to OneDrive.
You can find an example implementation of a file handler in our GitHub project(opens in a new tab).
After you deploy the SharePoint Online file handler, navigate to the OneDrive document library to open, edit, and save files directly in a web browser.