Pdf viewer and source path

Hello I try to visualize a pdf in perspective session with the pdf viewer component. But I struggle with the source path. I do not have the minimum version of Ignition required to install the WebDev module. So I would like to put my pdf in the folder “/res/perspective/documents/pdf-sample.pdf” with the sample provided by Ignition. Anybody knows where is this folder???

1 Like

idk where res it but you can put any files here

C:\Program Files\Inductive Automation\Ignition\webserver\webapps

Thank you for the answer but I couldn’t make it work.

hm seems to not update refs when put directly in the root… try putting it in the folder main
C:\Program Files\Inductive Automation\Ignition\webserver\webapps\main
it works with the same source url

3 Likes

It works, thank a lot.

1 Like

Thanks for sharing, it was very helpful for my pdf viewer app!!

May I know if this method is still working mine is not working even though I did the same setting and even the filename?

what ignition version?

i have no problems opening this old test page running on 8.1.28

1 Like

I found the issue is I have to use http://localhost:8088/main/sample.pdf instead of /sample.pdf in the source path

ah close!, you could also use http://localhost:8088/sample.pdf i believe