# Pdf viewer and source path

**URL:** <https://forum.inductiveautomation.com/t/pdf-viewer-and-source-path/53487>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [November 26, 2021, 12:16pm UTC](https://forum.inductiveautomation.com/t/pdf-viewer-and-source-path/53487 "2021-11-26T12:16:32Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![pick](https://avatars.discourse-cdn.com/v4/letter/p/9de0a6/32.png) [@pick](https://forum.inductiveautomation.com/u/pick)\
**Post date:** [November 26, 2021, 12:16pm UTC](https://forum.inductiveautomation.com/t/pdf-viewer-and-source-path/53487/1 "2021-11-26T12:16:32Z")

</div>

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???

---

<div class="post-metadata">

**Author:** ![victordcq](https://avatars.discourse-cdn.com/v4/letter/v/f6c823/32.png) [@victordcq](https://forum.inductiveautomation.com/u/victordcq)\
**Post date:** [November 26, 2021, 1:06pm UTC](https://forum.inductiveautomation.com/t/pdf-viewer-and-source-path/53487/2 "2021-11-26T13:06:01Z")

</div>

idk where res it but you can put any files here

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

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/1/a/1ac347366cfbd787537700c6c132dfa47222d8ea.png)

---

<div class="post-metadata">

**Author:** ![pick](https://avatars.discourse-cdn.com/v4/letter/p/9de0a6/32.png) [@pick](https://forum.inductiveautomation.com/u/pick)\
**Post date:** [November 26, 2021, 1:25pm UTC](https://forum.inductiveautomation.com/t/pdf-viewer-and-source-path/53487/3 "2021-11-26T13:25:02Z")

</div>

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

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/6/1/61ade94e51b9c5d9ab0a9de0cf45b64648ce575a.png)

---

<div class="post-metadata">

**Author:** ![victordcq](https://avatars.discourse-cdn.com/v4/letter/v/f6c823/32.png) [@victordcq](https://forum.inductiveautomation.com/u/victordcq)\
**Post date:** [November 26, 2021, 1:53pm UTC](https://forum.inductiveautomation.com/t/pdf-viewer-and-source-path/53487/4 "2021-11-26T13:53:29Z")

</div>

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

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/5/7/5778e8161c611ff4559a9ec153654d9642691227.png)

---

<div class="post-metadata">

**Author:** ![pick](https://avatars.discourse-cdn.com/v4/letter/p/9de0a6/32.png) [@pick](https://forum.inductiveautomation.com/u/pick)\
**Post date:** [November 26, 2021, 2:01pm UTC](https://forum.inductiveautomation.com/t/pdf-viewer-and-source-path/53487/5 "2021-11-26T14:01:53Z")

</div>

It works, thank a lot.

---

<div class="post-metadata">

**Author:** ![allan](https://avatars.discourse-cdn.com/v4/letter/a/ccd318/32.png) [@allan](https://forum.inductiveautomation.com/u/allan)\
**Post date:** [September 14, 2022, 6:03am UTC](https://forum.inductiveautomation.com/t/pdf-viewer-and-source-path/53487/6 "2022-09-14T06:03:52Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Wei\_Ming\_Koa](https://avatars.discourse-cdn.com/v4/letter/w/2acd7d/32.png) [@Wei\_Ming\_Koa](https://forum.inductiveautomation.com/u/Wei_Ming_Koa)\
**Post date:** [June 10, 2024, 2:50pm UTC](https://forum.inductiveautomation.com/t/pdf-viewer-and-source-path/53487/7 "2024-06-10T14:50:24Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![victordcq](https://avatars.discourse-cdn.com/v4/letter/v/f6c823/32.png) [@victordcq](https://forum.inductiveautomation.com/u/victordcq)\
**Post date:** [June 10, 2024, 2:52pm UTC](https://forum.inductiveautomation.com/t/pdf-viewer-and-source-path/53487/8 "2024-06-10T14:52:01Z")

</div>

what ignition version?

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

---

<div class="post-metadata">

**Author:** ![Wei\_Ming\_Koa](https://avatars.discourse-cdn.com/v4/letter/w/2acd7d/32.png) [@Wei\_Ming\_Koa](https://forum.inductiveautomation.com/u/Wei_Ming_Koa)\
**Post date:** [June 10, 2024, 3:50pm UTC](https://forum.inductiveautomation.com/t/pdf-viewer-and-source-path/53487/9 "2024-06-10T15:50:39Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![victordcq](https://avatars.discourse-cdn.com/v4/letter/v/f6c823/32.png) [@victordcq](https://forum.inductiveautomation.com/u/victordcq)\
**Post date:** [June 11, 2024, 6:47am UTC](https://forum.inductiveautomation.com/t/pdf-viewer-and-source-path/53487/10 "2024-06-11T06:47:00Z")

</div>

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