Re: How to show PDF Content in page where PDF file already exists?
Hi @Anonymous,
I have developed a list where I can show invoices as invoice records.
Inside of the invoice record there is a note which contains the pdf attached.
What I do is during creation of the note which contains the attachment, I fill a field with the direct link to the attachment (PDF file).
This allows us to show a invoice list on portal with a direct link field to the PDF-Attachment. Clicking the link opens the PDF separately.
I think this approach should also help you to be able to show the PDF directly within a webpage.
To include a PDF directly, I used following code within a page:
<iframe src="URI.pdf" style="height:1200px; width:820px;border:none" width="100%"></iframe>
Therefore you would only need to create the direct link to the pdf and include the value on this code snippet.
Does this help?
Best regards,
Gerald Gut
EDIT:
The syntax for the direct link looks like follow:
