0

I'm developing a web app for in-house use and I'm looking for a better way to display PDFs.

I've played around with Adobe's 'Work with Local File' example from GitHub, Adobe GitHub Example, and it works great using the file picker to display a PDF. Is it possible with Adobe's PDF Embed API to take a file located on a local file share and display the PDF?

I'm thinking I need to create a file promise but I'm not sure how to create that.

1 Answers1

0

Unless you can make a network request to load the PDF, the answer is no. Browsers generally can't read from local files unless a user action actually picks the file. If your local share can be made accessible via HTTP, then you would be good to go.

Raymond Camden
  • 10,661
  • 3
  • 34
  • 68