Load pdf file Using URL

Hi guys,

I really need your help with this. How can I load my pdf file in the vue pdf viewer using a url path of my laravel. I am currently using laravel with vue as my front-end framework. I want to load a file to my pdf viewer using a url (ex. "http://localhost:8000/storage/plan/document (1)_1602140949.pdf"). Is there a way I can do this?

1 Reply 1 reply marked as answer

AA Akshaya Arivoli Syncfusion Team October 9, 2020 01:42 PM UTC


Hi Shannara, 
 
Our PDF Viewer do not have support to load the URL directly in the PDF Viewer. However we can convert that URL to byteArray in the server side Load() web action method and then we can display the same in PDF Viewer. 
 
 
 
 
Please try it and revert us with more details about your requirement, if you still have concerns. These details will be helpful for us to investigate further and assist you better 
 

Regards, 
Akshaya 



Marked as answer
Loader.
Up arrow icon