# Newbie - Show PDF in Dashboard

**URL:** <https://discourse.nodered.org/t/newbie-show-pdf-in-dashboard/19003>\
**Category:** Dashboard\
**Created:** [10 December 2019 19:05 UTC](https://discourse.nodered.org/t/newbie-show-pdf-in-dashboard/19003 "2019-12-10T19:05:15Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![afelix](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/afelix/32/9743_2.png) [@afelix](https://discourse.nodered.org/u/afelix)\
**Post date:** [11 December 2019 10:37 UTC](https://discourse.nodered.org/t/newbie-show-pdf-in-dashboard/19003/2 "2019-12-11T10:37:15Z")

</div>

I just read your post over again and spotted that the way you’re trying to access your file is incorrect. Node-RED (thankfully) doesn’t have access to arbitrary files inside the home folder of the user who runs it. You need to put it in the static files directory, then build the correct link for node-red. You should be able to find that by a forum search.

Old reply below:  
Is your goal to display the PDF within the dashboard, or redirect to the file? If to redirect, use a link (`<a href="Address here">`) instead. If to embed, take a look at pdfjs, a Mozilla library that is a PDF viewer written fully in HTML5

> **[mozilla/pdf.js](https://github.com/mozilla/pdf.js)**
>
> PDF Reader in JavaScript. Contribute to mozilla/pdf.js development by creating an account on GitHub.

---

_[View the full topic](https://discourse.nodered.org/t/newbie-show-pdf-in-dashboard/19003)._
