Posts

Showing posts from March, 2019

Flow - customising the HTML table

(updated  23 May 2019) Todays snippet - HTML tables in Microsoft Flow - creating spaces between columns. So i have created a flow to read the Message Center messages and incidents, and and post in teams. The HTML table element used to build a list of the messages works well, but there little option to format the table itself. One particularly annoying issues is the tables are all squished together. Not normally an issue for HTML rendering in outlook, when the output is sent via an email. Teams on the other hand, doesnt do as good a job. So - how to customise. Its a bodge, but it works. After creating the table, insert a compose step. Take the output from the table, and replace </th><th> with </th><th>&nbsp</th><th> This will insert a small header between columns the function is: replace(body('Create_HTML_Table'),' </th><th> ',' </th><th>&nbsp</th><th>') Similarly, you