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!
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>')
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!
WarrenBelz
146,645
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,997
Most Valuable Professional