Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Unanswered

I am trying to convert the html to PDF from power apps but the html is not rendering as it is in html.

(0) ShareShare
ReportReport
Posted on by

Hi, I am trying to convert the html to PDF from power apps. I designed all the html and trying to convert that to PDF. The html is having two tables and they should be next to each other. This is working fine when render as a html but after converting that into PDF using power automate (One drive action "Covert a file") the tables are not setting side by side to each other whereas they are setting one by one. 

 

Any help on this is highly appreciated.

Thanks.

  • SanmeshG Profile Picture
    1,938 Super User 2025 Season 1 on at
    Re: I am trying to convert the html to PDF from power apps but the html is not rendering as it is in html.

    Hi @RamB  ,

     

    Based on my experience , the flex property currently does not seem to support in the PDF conversion connector in OneDrive.

     

    one trick way to get around this is to use nested tables as shown below. It may not be a 100% solution but its a good starting point for you. You can try by making more changes in the CSS.

     

    I am adding an image of what I got in the PDF.

    <table style="width:100%">
     <tr>
     <td>
     <table style="width:100% ; border:1px solid">
     <tr>
     <td style="border:1px solid">1</td>
     <td style="border:1px solid">2</td>
     </tr>
     <tr>
     <td style="border:1px solid">3</td>
     <td style="border:1px solid">4</td>
     </tr>
     </table>
     </td>
     <td>
     <table style="width:100% ; border:1px solid">
     <tr>
     <td style="border:1px solid">1</td>
     <td style="border:1px solid">2</td>
     </tr>
     <tr>
     <td style="border:1px solid">3</td>
     <td style="border:1px solid">4</td>
     </tr>
     </table>
     </table>
     </td>
     </tr>
    </table> 

     

  • David_MA Profile Picture
    10,523 Super User 2025 Season 1 on at
    Re: I am trying to convert the html to PDF from power apps but the html is not rendering as it is in html.

    I have some pretty complex solutions that convert HTML to PDF and multiple tables and have not had any issues yet. However, I have never tried to put two tables side-by-side. It may be a limitation of PDF that it ignores divs and floats. You need to remember that Adobe Acrobat is not the same as a web browser, so there will be some compromises when you convert the html to PDF. I would check Adobe documentation for its limitations.

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,524 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,906 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow