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

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / How to show a PDF file...
Power Pages
Unanswered

How to show a PDF file on a web page

(0) ShareShare
ReportReport
Posted on by 2

I have a Contract field in account table. Field type is File. Is it possible to show this file in on a page (iframe, pdf viewer...)?

 

If I add the field to a form and use it in portal, document is always downloaded.

 

URL: https://site-123456.powerappsportals.com/File/download.aspx?Entity=account&Attribute=cr4c5_contract&Id={{guid}}

 

I don't want that. Instead just show it.

Categories:
I have the same question (0)
  • OOlashyn Profile Picture
    3,496 Most Valuable Professional on at

    Hi @Simply_ti_Red ,

    So what you would need to do is download the file via web API (https://learn.microsoft.com/en-us/power-pages/configure/file-column#web-api) and then use some 3rd party pdf viewer to show the content on the page (depending on the library you might also need to convert received file to base64 etc).

  • Simply_ti_Red Profile Picture
    2 on at

    Thanks @OOlashyn, I'll try that. 👍

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Pages

#1
Suriyanarayanan V Profile Picture

Suriyanarayanan V 41

#2
oliver.rodrigues Profile Picture

oliver.rodrigues 30 Most Valuable Professional

#3
Fubar Profile Picture

Fubar 16 Super User 2026 Season 1

Last 30 days Overall leaderboard