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 / Convert power app form...
Power Apps
Answered

Convert power app form including attachments (pdf, excel) into pdf

(0) ShareShare
ReportReport
Posted on by 16

Hello,

I am still a newbie in Power Apps and Power Automate  and I work on a project that needs to convert the form data including attachments files into pdf and those attachments in pdf should the user be able to download them when clicking on it, I have searched a lot for a solution but all tutorials I found it was about images and not files or documents, any help will be really appreciated

Categories:
  • Verified answer
    msabau Profile Picture
    270 on at

    This is fairly easy if you know about html and javascript. I did this with a Sharepoint List

    You should make a flow that gets an item from your list, then use a compose connector to build your own html.

    I built my html on Vs Code (which is free) and then pasted it in my compose connector.

    I inlcuded CSS and JS in my HTML to have more functionality in one file only. Now I have an HTML with everything in it, including links to attachments.

    Then you can convert it to PDF.

    Feel free to ask in case you need help with this

  • Aya_alaa96 Profile Picture
    16 on at

    I really have a good experience in HTML, CSS, and JS but I wonder what's the role of JS here.

  • msabau Profile Picture
    270 on at

    In case you need more functionality, for example the output from yes/no fields is a string, either "True" or "False". I used JS to replace those strings with checkmarks and crosses, but JS and CSS are totally optional

  • cheyenne9435 Profile Picture
    2 on at

    What do you do if you know nothing about HTML or Javascript? I am just trying to do the same thing OP was asking about but have no idea what I am doing...

  • WebWmn53 Profile Picture
    on at

     This is for " HTML with everything in it, including links to attachments." Does this work to add the pdf and/or document previews to the output? I have a gallery and an HTML in Power Apps and cannot get the non-image previews to show in the PDF output. If so, what code is needed?

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 248 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 192 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard