Showing results for 
Search instead for 
Did you mean: 
Level: Powered On

HTML Text to Flow PDF Landscape?


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



Community Support Team
Community Support Team

Re: HTML Text to Flow PDF Landscape?

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.



Level: Powered On

Re: HTML Text to Flow PDF Landscape?

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>  "




Community Support Team
Community Support Team

Re: HTML Text to Flow PDF Landscape?

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

New Ranks and Rank Icons in April

'New Ranks and Rank Icons in April

Read the announcement for more information!

Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020


Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (9,275)