Hi,
I have a simple flow which creates a OneNote page after a Sharepoint item is created. The content of the page is a complex table, therefore, I wanted to avoid having to create it from scratch and instead I opted to use the "Get page content" action to copy the empty table from a template page named "TEST".
The flow finishes successfully and although the newly created page has the exact same layout and text formatting, the tables are hidden as seen below:
Template:
Page created by the flow:
Although a simple flow itself, it is a part of a multilayer automation effort and I'm pretty much stuck at this point 😕 Please help!
Thanks,
Tom
Just remove
<table style="border:1px solid;border-collapse:collapse">
and put in <table border="1">.
This works for me.
I've the same problem table borders as Tom. I understand the solution, but how do I implement it in my power automate flow?
Can you give an explanation?
Thanks in advance,
LJ
Hi @Anonymous ,
It seems that the html code in the output of 'get page content' has changed.
This is my html code before:
<table border="1">
<tr>
<td>row 1, cell 1</td>
<td>row 1, cell 2</td>
</tr>
<tr>
<td></td>
<td>row 2, cell 2</td> </tr> </table>
This is the 'get page content' output :
<html lang="en-US">
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body data-absolute-enabled="true" style="font-family:Calibri;font-size:11pt">
<div data-id="_default" style="position:absolute;left:48px;top:120px;width:624px">
<table style="border:1px solid;border-collapse:collapse">
<tr>
<td style="border:1px solid">row 1, cell 1</td>
<td style="border:1px solid">row 1, cell 2</td>
</tr>
<tr>
<td style="border:1px solid">row 2, cell 1</td>
<td style="border:1px solid">row 2, cell 2</td>
</tr>
</table>
</div>
<div style="position:absolute;left:1375px;top:82px;width:624px">
<br />
</div>
</body>
</html>
You could change style="border:1px solid;border-collapse:collapse" to border="1".
Best Regards,
Wearsky
If my post helps, then please consider Accept it as the solution to help others. Thanks.
stampcoin
87
Michael E. Gernaey
70
Super User 2025 Season 1
David_MA
48
Super User 2025 Season 1