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’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’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’s participation in any activities affiliated with HOST.</p>"
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.
Please take a try.
Regards,
Barry
stampcoin
97
Michael E. Gernaey
70
Super User 2025 Season 1
David_MA
48
Super User 2025 Season 1