Hello I'm building an app and I encounter a strange issue with my flow that I can't solve.
I had created a flow to print a pdf and it worked on my first app. when i copied the flow to use it on the second one the pdf came out blank. The HTML file is ok on both but not the pdf.
The onli difference between the original flow and the copied one are the destination folder and the referencec inside the html as below.
Attached are pictures of the two flows
and here the instructions
Instruction on the onselect function for the working flow
Instruction on the onselect function for the not working flow
Based on the HTML Text and flow's configuration that you mentioned, I could not find any issue with it. I think the flow's configuration is correct.
Do you mean that the generated HTML file in your OneDrive folder from your two flows are both OK?
I have made a test on my side, and don't have the issue that you mentioned. Within your copied flow, please make sure the "File content" dynamic content within the File Content field of the "Create file 2" action is selected from above "Convert file" action.
In addition, please consider modify the File Name of your PDF file as below:
Set "File Name" field in your "Create file 2" action to following:
Note: Remove the space within the File Name. Or you could rename it as a different name.
Try above solution, check if the issue is solved.
Also please consider remove the "Create file 2" action from your copied flow, and then re-add a new "Create file" action of OneDrive folder in your flow, specify the File Name as above, and select the converted File Content from above "Convert file" action, save your flow. Then fire the flow from your canvas app again, check if the issue is fixed.
Note: Within your app, please make sure you have created a connection to your copied flow properly, and call the flow action through the copied flow connection rather than original one.
Unfortunately, it didn't work. I even try to create a new app on a different location with different destination and origin files but I have the same result. Good HTML files but blank PDF. Can anyone suggest me another way to create the pdf file?
Check out the on demand sessions that are available now!
Stay up tp date on the latest blogs and activities in the community News & Announcements.
Features releasing from October 2020 through March 2021
Check out the Power Platform Community Highlights