cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
MPPowerApps
Frequent Visitor

Problems with converting an html file to pdf via Power Automate

Hello all,

 

I have an issue converting my html content to PDF format. This is my flow:

 

MPPowerApps_0-1633961957435.png

 

This is my html code:

<html>
<header>
<p><div style="display:block; text-align:left; float:left;"><h1>Personalstammblatt</h1></div>
<div style="display:block; text-align:right;"><img src=""https://upload.wikimedia.org/wikipedia/commons/2/2f/Google_2015_logo.svg""></div></p>
</header>

<body marginwidth="50" marginheight="100" topmargin="100" leftmargin="140">
<font face="Arial" size=4>

<hr noshade style="width:1200px; height:0.5px; text-align:left"></hr>
<br>

<h4>Personaldaten</h4>
<table width=250% border=0 cellspacing=20 cellpadding=0 style="font-family: Arial; font-size:18">
<tr>
<td>Vorname</td>
<td>@{outputs('Vorname')}</td>
</tr>
<tr>
<td>Nachname</td>
<td>@{outputs('Nachname')}</td>
</tr>
<tr>
<td>Straße</td>
<td>______________________________________________________________________</td>
</tr>
<tr>
<td>Hausnummer</td>
<td>______________________________________________________________________</td>
</tr>
<tr>
<td>Postleitzahl</td>
<td>______________________________________________________________________</td>
</tr>
<tr>
<td>Ort</td>
<td>______________________________________________________________________</td>
</tr>
<tr>
<td>Steuer-ID</td>
<td>______________________________________________________________________</td>
</tr>
</table>

<br></br>

<h4>Bankdaten</h4>
<table width=180% border=0 cellspacing=20 cellpadding=0 style="font-family: Arial; font-size:18">
<tr>
<td>Name Kontoinhaber</td>
<td>______________________________________________________________________</td>
</tr>
<tr>
<td>IBAN</td>
<td>______________________________________________________________________</td>
</tr>
<tr>
<td>BIC</td>
<td>______________________________________________________________________</td>
</tr>
</table>

</body>
</html>

 

Creating a html file works well and when I open the file it looks like expected. But the converted PDF looks like this: 

MPPowerApps_1-1633962341847.png

 

Greetings and thanks for any help

0 REPLIES 0

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (1,589)