web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / How to show PDF Conten...
Power Pages
Answered

How to show PDF Content in page where PDF file already exists?

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

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:

gavexe_0-1666517829958.png

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, 

gavexe_1-1666517977950.png

but how to address to the PDF which is already exists on the page? (see the previous picture).

 

Categories:
I have the same question (0)
  • Verified answer
    GeraldGut Profile Picture
    92 on at

    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:

    GeraldGut_1-1667826709076.png

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
Mohsin Ali Profile Picture

Mohsin Ali 33

#2
sannavajjala87 Profile Picture

sannavajjala87 28 Super User 2026 Season 2

#3
Fubar Profile Picture

Fubar 22 Super User 2026 Season 1

Last 30 days Overall leaderboard