web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Automate
Answered

PDF returning blank

(0) ShareShare
ReportReport
Posted on by 98

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

 

Categories:
I have the same question (0)
  • yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    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!

  • Verified answer
    v-yamao-msft Profile Picture
    Microsoft Employee on at

    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

     

  • todurant Profile Picture
    98 on at

    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.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 711

#2
Vish WR Profile Picture

Vish WR 691

#3
Haque Profile Picture

Haque 525

Last 30 days Overall leaderboard