Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

Issues with flow converting HTML to PDF - Stuck in Landscape view?

Hello everyone, I'm having issues trying to create a basic flow to convert a HTML table to a PDF. I'm following a video by Shane Young on YouTube. And everything seems to be functioning properly except the end result PDF. It looks like there is a problem with my HTML formating (beginner lvl) or the conversion where either the PDF is converted into landscape view or the table is too large? It gets cut off when it is converted.


Here is the flow:Flow

concat ('<!DOCTYPE html>
body {width: 8.5in; height: 11in}
table, th, td {
  border: 1px solid black;
  border-collapse: collapse;
th, td {
  padding: 5px;
  text-align: left;

<h2>Foreman''s Daily Log</h2>

<table style="width:100%">
    <th>Job #:</th>




Community Support
Community Support

Hi @lokdawg78 ,


I think this can scale the table by setting the adaptive properties of the HTML table.

But I am not good at HTML tags, so I am not able to provide the best solution.

What I can do is manually modify the width of HTML table so that all fields are displayed in PDF file.

I did a test on my side, set the width to 5.5, and then convert the HTML file into a PDF file, and the fields will be displayed.

Image reference:


Please take a try.


Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

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!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (1,366)