Hi Colleagues! I have to show PDF invoices in Power Apps Portal (or Powerpages it's the same as I understand). I managed to solve this task by Notes. I got the following:
But I want to show the PDF Content right here. To provide the opportunity to view the PDF before download it.
I found the way to embed a PDF to the page,
but how to address to the PDF which is already exists on the page? (see the previous picture).
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:
Lucas001
60
Super User 2025 Season 1
Fubar
55
Super User 2025 Season 1
surya narayanan
35