Open PDF Files in Microsoft OneDrive
PSPDFKit for OneDrive supports opening PDF files from a SharePoint Online file handler (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.
After you deploy the SharePoint Online file handler, you can navigate to the OneDrive document library to directly open, edit, and save files in a web browser.