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 Apps / PreviewPDF on creation
Power Apps
Answered

PreviewPDF on creation

(0) ShareShare
ReportReport
Posted on by 6

I am developing a purchase order application that will create a pdf with all of the order information and attach the file to an email. I can successfully create the PDF file but I am wondering if there is way that I can make it so that the user can preview the PDF before the email is sent. I would preferably like to create the pdf, then somehow update the PDFViewer to show the recently created pdf. So my question is, how do I automatically update the pdf viewer to preview a pdf that was just created?

 

Edit: I am currently creating the pdf file to onedrive.

Categories:
  • Verified answer
    WarrenBelz Profile Picture
    156,921 Most Valuable Professional on at

    Hi @NoahTanzi ,

    You did not say how you created the PDF. I do something similar with an emailed PDF and the user actually sees what is about to be created. Mine is HTML (in a HTML text box) and the formatted and completed content can be seen on the screen with the email send button at the top - an example from my test environment is below and this works well as the form is signed and emailed to the customer from on site

     

    FredPDF.png

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

     

  • WarrenBelz Profile Picture
    156,921 Most Valuable Professional on at

    Hi @NoahTanzi ,

    Just checking if you got the result you were looking for on this thread. Happy to help further if not.

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

  • NoahTanzi Profile Picture
    6 on at

    I am creating the PDF using html as well but the only problem with using an html box for the preview is that my html code contains a table and the borders on the table don't appear in powerapps.

  • NoahTanzi Profile Picture
    6 on at

    I got it all figured out, thank you!

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 236 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 207 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 169

Last 30 days Overall leaderboard