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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / OD4B Convert .hml to PDF
Power Automate
Unanswered

OD4B Convert .hml to PDF

(0) ShareShare
ReportReport
Posted on by 36

Hello,

 

I am 100% sure I am doing something wrong but I cannot figure out what it is.  Please help!

I have a PowerApp that displays a waiver in an HTML Text control.

I have a button and the OnSubmit function runs a flow that saves the HTML.HTMLText as an .htm file in OneDrive.

This is all working fine but, when I add an action to the flow to convert the .htm to a PDF, the resulting PDF shows all the HTML tags...

 

I followed the article written by @paulculmsee here: http://www.cleverworkarounds.com/2018/03/09/three-ways-to-convert-html-to-pdf-using-microsoft-flow/

"<p><strong>SIGNATURE OF PARENT OR LEGAL GUARDIAN REQUIRED</strong></p>
<p>As the parent or legal guardian of the minor child Participant named above, I hereby make and enter into each and every agreement, representation, waiver, and release described above on behalf of myself, the Participant, and any other parent or legal guardian of the Participant, intending that they be binding on me, the Participant, and our respective heirs, executors, administrators, and assigns. By affixing my signature below I represent that I possess the authority to act on behalf of all of the minor child Participant&rsquo;s parents or legal guardians and that I intend to give up my right, and the right of any other parent or legal guardian to maintain any claim or suit against HOST arising out of the Participant&rsquo;s participation in any Activities involving HOST in any way. I further agree to hold harmless, defend, and indemnify HOST of and from any claims from third parties arising from the minor child Participant&rsquo;s participation in any activities affiliated with HOST.</p>"
Categories:
I have the same question (0)
  • v-bacao-msft Profile Picture
    on at

    Hi @memsim1010,

     

    Could you share screenshots of your Flow configuration, especially the action configuration that converts Html files to PDF?

    From your description, the configuration before the action related to the conversion file is fine. I did the test on my side, and the method used is somewhat different from the one provided in the article.

    Maybe you could use OneDrive for business--Get file content action directly, then use Convert Html to Text to convert content.

    Finally configure OneDrive for Business---Create file action, using The plain text content output from the previous step.

     26.PNG

    Please take a try.

     

    Regards,

    Barry

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 519 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 296 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard