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 Platform Community / Forums / Power Automate / HTML table cannot be c...
Power Automate
Unanswered

HTML table cannot be converted to PDF!

(0) ShareShare
ReportReport
Posted on by 10

Hello everyone,

I have a case I really hope you can help with!:) I have built a flow which aims to create a final PDF file. Lets assume this PDF includes unique information on top(ie customer name, last name, order date) and then a table which includes a list of orders of that customer. To do that, i have also created an html table in my flow, which i included in my concat expression. When the file is created I open it and the outcome is fine. But at the next step( where the file is converted to PDF), if i open the PDF file, the HTML table(customer order list) is nowhere. Any idea why?

Thank you in advance!

eiatrou19_0-1602255592740.png

 

Categories:
I have the same question (0)
  • yashkamdar Profile Picture
    1,044 on at

    Hello Team,

     

    We will need to verify your File content.

     

    Can you create a Compose action and put the Concatenate expression as an Input in the Compose action and check what output it is giving out.

     

    This is the best way to debug and check if all your content is either getting sent in the file content or not.

     

    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!

  • eiatrou19 Profile Picture
    10 on at

    I did put the concatenate expression but now even the file shows the title of compose actions.

    that is my concat input:

     

    concat('
    <!DOCTYPE html>
    <html>
    <head>
    <title>Page Title</title>
    <style>
    body {
    font-family: Calibri;
    font-size: 11px;
    color: black;
    }

    th {
    text-align: left;
    vertical-align: text-top;
    font-family: Calibri;
    font-size: 11px;
    font: bold;
    color: black;
    }

    td {
    text-align: left;
    vertical-align: text-top;
    font-family: Calibri;
    font-size: 12px;
    color: black;
    }

    h2 {
    text-align: left;
    padding-top: 0;
    margin-top: 0;
    font-family: Calibri;
    font-size: 12px;
    font: bold;
    color: #EA640D;
    }

    table {
    width: 30%;
    padding: 13px 13px;
    font-family: Calibri;
    font-size: 8pt;
    }
    </style>
    </head>


    <body>
    ',

    '<img src="', variables('Logo') ,'">',
    '<h1>Report Summary</h1>',
    '<table style="width: 100%">',
    '<label>', outputs('Compose_3'),'</label>',
    '</table>',
    '<label>', outputs('Compose_2'),'</label>',
    '</table>'
    ,

    '<h2>Transactions</h2>',
    '<table style="width: 60%">',
    '<label>', outputs('Compose'),'</label>',
    '</table>'
    ,

    '</html>')

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 April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 632

#2
Haque Profile Picture

Haque 458

#3
Valantis Profile Picture

Valantis 357

Last 30 days Overall leaderboard