cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper V
Helper V

Formatting html table

I have a SharePoint list where i want to convert an item to a PDF report. I've figured out the flow, but am having trouble formatting the html table before it gets converted to a pdf. I want to make each field a row in the table, rather than a column.  Can I do that? if so, how? if not, how can i format the html table to look better? (padding, borders, etc)

 

I've used the following expression for borders but keep getting an issue with the FormatTable part of it. replace(outputs(‘FormatTable’),'<td>’,'<td style=”padding:20px”>’)

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: Formatting html table

Hi @ahhollan ,

 

Please refer to link below and let me know if your problem could be solved:

https://www.c-sharpcorner.com/article/how-to-create-and-format-html-table-using-microsoft-flow-and-s...

https://www.sharepointsiren.com/2019/07/formatting-html-tables-in-flow/

 

Best regards,

Alice       

 

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
Highlighted
Community Support
Community Support

Re: Formatting html table

Hi @ahhollan ,

 

Please refer to link below and let me know if your problem could be solved:

https://www.c-sharpcorner.com/article/how-to-create-and-format-html-table-using-microsoft-flow-and-s...

https://www.sharepointsiren.com/2019/07/formatting-html-tables-in-flow/

 

Best regards,

Alice       

 

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Top Kudoed Authors
Users online (5,176)