cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Josefina
Frequent Visitor

Issue while converting an HTML to PDF from PowerApps button using a flow

Hi! 

I've built a powerapps with a button that when triggered, it creates an HTML file in one drive and then it should convert it to PDF (all of this, by using a flow I also built). I've watched all of Shane Young's youtube videos, and also other videos, and none of the options work out.

I am trying to solve this issue, but when the flow is triggered, it works fine until the action when it has to convert the HTML file (which is properly created in my OneDrive folder) to PDF, it just throws different type of errors such as Badgateaway if I use "path", or The resource could not be found if I use "ID". Let me show you a bit more to see If I'm explaining ok what I mean. 

Thank you in advance to those who can help me with this! 

 

FlowNotWorking.PNGflowNotWorking2.PNGflowNotWorking3.PNG

1 ACCEPTED SOLUTION

Accepted Solutions
v-litu-msft
Community Support
Community Support

Hi @Josefina ,

 

I have tested on my side and it runs successfully. I create the PDF file converted from HTML file both OneDrive and SharePoint, and it runs successfully.

 

Please have a try according to these screenshots as below, I hope it can help you:Annotation 2019-08-12 171811.pngAnnotation 2019-08-12 171419.png

The runs result:Annotation 2019-08-12 171836.png

Best Regards,

Community Support Team _ Lin Tu

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

 

View solution in original post

3 REPLIES 3
RezaDorrani
Dual Super User II
Dual Super User II

Hi @Josefina,

 

Convert file using ID

 

1 - are you using the Id (dynamic content) obtained from the Create file action?

2 - the html file being generated - can you validate if the html syntax is correct

 

Regards,

Reza Dorrani

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

 

 

 

 

v-litu-msft
Community Support
Community Support

Hi @Josefina ,

 

I have tested on my side and it runs successfully. I create the PDF file converted from HTML file both OneDrive and SharePoint, and it runs successfully.

 

Please have a try according to these screenshots as below, I hope it can help you:Annotation 2019-08-12 171811.pngAnnotation 2019-08-12 171419.png

The runs result:Annotation 2019-08-12 171836.png

Best Regards,

Community Support Team _ Lin Tu

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

 

View solution in original post

Thanks for your help. I tried it and it worked! 🙂 

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Top Solution Authors
Users online (841)