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

PDF returning blank

Geetings, I have my flow in powerapps where it is using the htmltext control to create a pdf. The flow creates the html file and stores it no problem but when I convert the file the pdf is showing as blank. I checked the html file and everything is there just not in the pdf. I am using a gov client so I dont know if that makes a difference. I tried it with SharePoint create file and OneDrive create file, same result.

Thanks in advance.pdfIssue.jpg

 

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: PDF returning blank

Hi @todurant ,

 

Please try adding a Delay action under Create file action.

 

I have made the following test and the converted PDF file has the same content with the html file.

1.PNG2.PNG

 

 

Best regards,

Mabel

 

Community Support Team _ Mabel Mao
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
Dual Super User
Dual Super User

Re: PDF returning blank

Hi @todurant 

 

Can you try adding the .pdf extension after the filename in the create file action. That should do the trick. 

pf.PNG

Also, you could use the Convert file action and provide the ID of the newly created file (if the pdf is being created but there is nothing in it)dfs.PNG

 

 

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

Community Support Team
Community Support Team

Re: PDF returning blank

Hi @todurant ,

 

Please try adding a Delay action under Create file action.

 

I have made the following test and the converted PDF file has the same content with the html file.

1.PNG2.PNG

 

 

Best regards,

Mabel

 

Community Support Team _ Mabel Mao
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

todurant
Level: Powered On

Re: PDF returning blank

I found that it was the colspan in my html that was breaking the pdf conversion. Once I removed that things worked fine. Thanks for your suggestion.

Helpful resources

Announcements
firstImage

Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!

firstImage

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

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

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 Power Automate Community Video Gallery!

Top Solution Authors
Top Kudoed Authors
Users online (6,052)