cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Resolver I
Resolver I

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
Highlighted
Community Support
Community Support

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
Highlighted
Dual Super User III
Dual Super User III

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!

Highlighted
Community Support
Community Support

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

Highlighted
Resolver I
Resolver I

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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Upcoming Events

Experience what’s next for Power Automate

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Top Solution Authors
Top Kudoed Authors
Users online (5,978)