cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
memsim1010
Level: Powered On

OD4B Convert .hml to PDF

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>"
1 REPLY 1
Community Support Team
Community Support Team

Re: OD4B Convert .hml to PDF

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

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
firstImage

Microsoft Flow Online Conference

Join us for a FULL day of FREE Microsoft Flow Sessions from some of the best minds in the industry!

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020

thirdimage

Flow Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

thirdImage

New Flow Community Board!

Check out the new Microsoft Flow Community Blog Topic Suggestion board!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 55 members 4,308 guests
Please welcome our newest community members: