I am trying to use the embed function within a widget to display a PDF file that I have dragged into "Resources".
However, I am confused about what the code should look like to display this PDF. When I use the entire path on the computer itself, it appears fine, but I would like it to come together with all the resource files so that it was a complete package with all content.
Your embed code would look something like this (place inside an HTML widget)
<object data="http://10.20.20.2:8080/pdf_files/test.pdf" type="application/pdf" width="100%" height="100%">
<p>It appears you don't have a PDF plugin for this browser. You can <a href="http://10.20.20.2:8080/pdf_files/test.pdf">click here to download the PDF file.</a></p>
</object>