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 / Is it possible to inse...
Power Apps
Answered

Is it possible to insert a full form into HTML for export to PDF?

(0) ShareShare
ReportReport
Posted on by 27

I have created a PowerApp and added an export to PDF button. I have created the PowerAutomate flow. I am now at the point of making a HTML code for the export. Is it possible to just put the form in without having to put in every single title, text, etc.?

 

What I want is something like this.

"<!DOCTYPE html>
<html>
<body>

<h2> PDF Report </h2>
<h2>Title</h2>
<div>"& Title1.Text &"</div>
<div>"& Form1.LastSubmit &"</div>

</body>
</html>
"

 

Is this even possible?

 

Thanks,

Shannon

Categories:
I have the same question (0)
  • zmorek Profile Picture
    3,272 on at

    To my knowledge, no, because Form1.LastSubmit requires the rest of the polymorphic reference (e.g. Form1.LastSubmit.ColumnName); Form1.LastSubmit just references the record in its entirety.

  • swinnings Profile Picture
    27 on at

    Is there the ability to just do Form1 (without the Last Submit)? I'm hoping to avoid having to do the entire HTML code, though I will probably not be that lucky!

  • Verified answer
    zmorek Profile Picture
    3,272 on at

    I shamelessly use HTML generators online for my tables (rather than sit there and count my brackets to make sure I  closed my <divs>)!

     

    I don't know how long your form is, or the number of fields or anything... But have you considered simply using Print()? You can insert a vertical print screen to accommodate additional length. Downside is I don't believe it works on mobile yet.

  • swinnings Profile Picture
    27 on at

    I'm also using a HTML generator now for convenience!

     

    The form is, unfortunately, long (I didn't make it), but I will look into what I can do with the Print() function. 

     

    Thanks!

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 356 Most Valuable Professional

#2
11manish Profile Picture

11manish 225 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 211

Last 30 days Overall leaderboard