# PDF viewer troubleshooting help

**URL:** <https://forum.inductiveautomation.com/t/pdf-viewer-troubleshooting-help/96922>\
**Category:** Ignition\
**Tags:** ignition81, perspective\
**Created:** [October 7, 2024, 6:13pm UTC](https://forum.inductiveautomation.com/t/pdf-viewer-troubleshooting-help/96922 "2024-10-07T18:13:10Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![mjohnson0238](https://avatars.discourse-cdn.com/v4/letter/m/4bbf92/32.png) [@mjohnson0238](https://forum.inductiveautomation.com/u/mjohnson0238)\
**Post date:** [October 7, 2024, 6:13pm UTC](https://forum.inductiveautomation.com/t/pdf-viewer-troubleshooting-help/96922/1 "2024-10-07T18:13:10Z")

</div>

I an running the trail version of the WebDev trying to display PDFs like the video shows. Here is what I have done so far:

I selected the Web Dev in the project browser, selected New File Resource, and selected the file that I wanted to use (this file is located on a VM server, if that matters.. same VM server that houses my Ignition instance)

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

From there, right clicked the file and "Copy mounted path", went to the pdf viewer component and pasted that path into the source, i get the "failed to load PDF file" error.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/3/0/3056eae6d81d48d6068080845f5916af3ea39823.png)

Am I missing something?

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [October 7, 2024, 6:21pm UTC](https://forum.inductiveautomation.com/t/pdf-viewer-troubleshooting-help/96922/3 "2024-10-07T18:21:26Z")

</div>

I think the `source` needs to be the full URL, not just some relative part of the path. The PDF viewer does not assume you are hosting the PDF on the local gateway via WebDev.

---

<div class="post-metadata">

**Author:** ![mjohnson0238](https://avatars.discourse-cdn.com/v4/letter/m/4bbf92/32.png) [@mjohnson0238](https://forum.inductiveautomation.com/u/mjohnson0238)\
**Post date:** [October 7, 2024, 6:31pm UTC](https://forum.inductiveautomation.com/t/pdf-viewer-troubleshooting-help/96922/4 "2024-10-07T18:31:31Z")

</div>

I hate to be hard headed but can I get some sort of example to better understand?

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [October 7, 2024, 6:32pm UTC](https://forum.inductiveautomation.com/t/pdf-viewer-troubleshooting-help/96922/5 "2024-10-07T18:32:16Z")

</div>

`http://localhost:8088/PasteThatPathYouCopiedHere`

(update "localhost" with the actual hostname/IP of your Ignition Gateway or it will only work in a browser session run on the same machine)

---

<div class="post-metadata">

**Author:** ![mjohnson0238](https://avatars.discourse-cdn.com/v4/letter/m/4bbf92/32.png) [@mjohnson0238](https://forum.inductiveautomation.com/u/mjohnson0238)\
**Post date:** [October 7, 2024, 6:34pm UTC](https://forum.inductiveautomation.com/t/pdf-viewer-troubleshooting-help/96922/6 "2024-10-07T18:34:57Z")

</div>

> [@Kevin.Herron](#):
>
> [http://localhost:8088](http://localhost:8088)

Like this I presume:

```python
http://localhost:8088/system/webdev/Extrusion_Tech_Repository/1511.13.90.01%20TUNNEL%20LOCAL%20PANEL_REV04.pdf)

```

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [October 7, 2024, 6:35pm UTC](https://forum.inductiveautomation.com/t/pdf-viewer-troubleshooting-help/96922/7 "2024-10-07T18:35:55Z")

</div>

Yes, should be something like that, without the stray parenthesis on the end.

You should be able to plug that URL into your browser and it will download the file.

---

<div class="post-metadata">

**Author:** ![mjohnson0238](https://avatars.discourse-cdn.com/v4/letter/m/4bbf92/32.png) [@mjohnson0238](https://forum.inductiveautomation.com/u/mjohnson0238)\
**Post date:** [October 7, 2024, 6:45pm UTC](https://forum.inductiveautomation.com/t/pdf-viewer-troubleshooting-help/96922/8 "2024-10-07T18:45:08Z")

</div>

OK so,

```python
http://localhost:8088/system/webdev/Extrusion_Tech_Repository/1511.13.90.01%20TUNNEL%20LOCAL%20PANEL_REV04.pdf

```

Does in fact go to the pdf in my browser, but not in the pdf viewer component.

---

<div class="post-metadata">

**Author:** ![mjohnson0238](https://avatars.discourse-cdn.com/v4/letter/m/4bbf92/32.png) [@mjohnson0238](https://forum.inductiveautomation.com/u/mjohnson0238)\
**Post date:** [October 7, 2024, 6:47pm UTC](https://forum.inductiveautomation.com/t/pdf-viewer-troubleshooting-help/96922/9 "2024-10-07T18:47:42Z")

</div>

Hang on, I changed the localhost to what the IP was and it is working now. Thank you
