Showing results for 
Search instead for 
Did you mean: 
Advocate I
Advocate I

HTML Text to Flow PDF Landscape?


Any idea how to convert a Powerapp HTML Text to PDF in Landscape?  



Community Support
Community Support

Hi @mattthew ,


I think you have already covert your html to PDF,right?

And now is your problem stuck in Landscape view,right?


So what is your html? Is it as your previous case shows? And how do you covert it to PDF? Could you please show your flow configuration?


Best Regards.



Hi @v-yuxima-msft 


The flow was the same method as you had linked.  We would like the view to be landscape since the output is not viewer friendly.    Thanks!


"<!DOCTYPE html>
table, th, td {
    border: 1px solid black;
<h2> Planning Phase Hazard Analysis (PPHA)</h2>
<h4>Work Order: " & Dropdown3.Selected.Value &"</h4>
<p>Please review below tasks for the work order as assigned </p>
<table style='width:100%'>
    <th>Job Site Participants</th>
    <th>Created By</th>
    <th>Equipment Worked On</th>
    <th>Created On</th>
"& Concat(Filter(TCD, Title= Dropdown3.Selected.Value),
        "<tr><td>" & Company & " </td>
        <td>" & Name_x0020_Participants & " </td>
        <td>" & Job_x0020_Site_x0020_Participant & " </td>
        <td>" & Author.DisplayName & " </td>
        <td>" & Equipment_x0020_Worked_x0020_On & " </td>
        <td>" & Created & " </td>
        </tr>") &
</table> <br> 
<table style width='100%'>
         <th> ID </th>     
         <th> Task Selection </th>
         <th> Consequence </th> 
         <th> Other Documents Required</th>
         <th> Hazards</th> 
         <th> Mitigations </th> 
         <th> Approval Requirements</th>
         <th> CCP Review Team</th>
         <th> Additional Comments</th>
     "& Concat(Filter(Tasks, WorkOrder= Dropdown3.Selected.Value),
              <td>" & Record & " </td>
              <td>" & Title & "</td>
              <td>" & Consequence & " </td>
              <td>" & Permits_x002f_Documents & " </td> 
              <td>" & Hazards & " </td>
              <td>" & Mitigations & " </td>
              <td>" & Approval_x0020_Requirements&" </td> 
              <td>" & CCP_x0020_Review_x0020_Team &" </td>
              <td>" & Additional_x0020_Comments &" </td>
              </tr>")  &
<table style width='100%'><tr>

</tr> <tr>
" & Concat(Filter(TCD, Title=Dropdown3.Selected.Value),
"<td height='90'>"
 & General_x0020_Comments & " </td>  "




Hi @mattthew ,


Do you want all your columns to show in one row?

I test on my side, if you put all columns show in onw row, it will very small.

And currently I  don't find one valiable way  to show the appearence frendly, one of my teamates suggest you can only change or edit the column's width by mannul in your code.


Best Regards.


Helpful resources

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Top Solution Authors
Top Kudoed Authors
Users online (2,364)