Hello,
Any idea how to convert a Powerapp HTML Text to PDF in Landscape?
Thanks!
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.
Yumia
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> <head> <style> table, th, td { border: 1px solid black; } </style> </head> <body> <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%'> <tr> <th>Company</th> <th>Team</th> <th>Job Site Participants</th> <th>Created By</th> <th>Equipment Worked On</th> <th>Created On</th> </tr> "& 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%'> <tr> <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> </tr> "& Concat(Filter(Tasks, WorkOrder= Dropdown3.Selected.Value), "<tr> <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><br> <table style width='100%'><tr> <th>Comments</th> </tr> <tr> " & Concat(Filter(TCD, Title=Dropdown3.Selected.Value), "<td height='90'>" & General_x0020_Comments & " </td> " ,"<tr></tr>") & "</table> </body> </html>"
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.
Yumia
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.
User | Count |
---|---|
200 | |
73 | |
50 | |
41 | |
30 |
User | Count |
---|---|
254 | |
119 | |
95 | |
91 | |
78 |