100
Views
2
Comments
Solved
How to get the PDF URL
Question
Application Type
Reactive

Hi buddies,


I hope you're doing well.


I have some PDF files stored on my database at the entity Document.

I want to use the component PDFjsViewer, but I need the URL.

How I can get the URL from each PDF file?

Btw what is the "AllowedHostsList"?!


Thank you!

FC

2023-04-16 15-25-31
Krishnanand Pathak
Solution

Hi FC,

As I can see in the below link it. All PDF documents must be include in the Resources folder of a module for this Component. This means it does not allow dynamic file from DB.
Please Check the link

Regards
Krishnanand Pathak


2025-04-17 05-42-16
Ajit Kurane
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.