Hello all,
I have some flows for site inspections that work well. They are triggered by a user submitting a Microsoft Form. They update a SP list and alert a manager depending on the findings. The emails could be formatted a little better, I would like to transpose the HTML table to make it easier to read. I have no idea where to start with this. Can you offer any suggestions?
Here's what the flow looks like currently:
This is the body of the email:
This is how I would like to format the table:
Thanks in advance.
Back to the original question:
Here is a suggestion on how to “rotate” an HTML table
Great solution! helped me alot !
for anyone using a apply to each, with Concurrency Control, you can use a compose instread of a variable
or rememer to "Empty" the variable in the end.
my emails ended up having like 10 tables in them 😅
We got there in the end,
I had to use quite a few <br> tags to push the text down past the table. I am happy with how it is formatted now.
Excellent suggestion @v-chengfen-msft !
@Bokaboi , you could just add some <br/> after your </table>
or format the HTML using Divs
Hi Cheng Feng,
Thank you for this suggestion. It's 99% of the way there. The table formats nicely, exactly how I would like it to look, however, the next line of text seems to be stuck to the side of the table.
Hi @Bokaboi ,
Please try to put an HTML Table in an email as a string
Here is a test for your reference:
<table width="20%" border="1" cellspacing="0" cellpadding="4" align="Left" bordercolor="#cccccc">
<tr>
<td bgcolor="#4169E1"><font color="#FFFFFF">Area</font></td>
<td bgcolor="#4169E1" ><font color="#FFFFFF">Findings</font></td>
</tr>
<tr>
<td>Bolts and Tabs</td>
<td>@{outputs('Get_response_details')?['body/Bolts and Tabs']}</td>
</tr>
<tr>
<td>Sealant</td>
<td>@{outputs('Get_response_details')?['body/Sealant']}</td>
</tr>
<tr>
<td>Perimeter</td>
<td>@{outputs('Get_response_details')?['body/Perimeter']}</td>
</tr>
</table>
Here is result:
Best Regards
Cheng Feng
Hello Sudeep,
Thanks for reaching out. I've had a brief read; although I may be able to adapt it, on the surface it would seem the tutorial you've shared is to group items under a heading which were originally stored in the first column of a table. I'm hoping to rotate my table 90degrees.
Here is my whole flow:
Michael E. Gernaey
497
Super User 2025 Season 2
David_MA
436
Super User 2025 Season 2
Riyaz_riz11
244
Super User 2025 Season 2