cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Super User
Super User

Create HTML and formatting the table in an email

I use 'Create HTML' successfully based on data from a SPand pass the result into an email.  What I would like to do is modify the table result to show borders etc.  Is there a way to do this.  There are no advanced settings I can see for this

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User
Super User

Re: Create HTML and formatting the table in an email

OK solved this by adding a second compose "data operations Compose" and used teh following syntax

 

replace(body('Create_HTML_table'),'<table>','<table border="1">')

 

Where 'Create_HTML_table' = the name of the Create HTML compse

 

Basically the replace would allow you to modify anything in the table

View solution in original post

3 REPLIES 3
Highlighted
Super User
Super User

Re: Create HTML and formatting the table in an email

OK solved this by adding a second compose "data operations Compose" and used teh following syntax

 

replace(body('Create_HTML_table'),'<table>','<table border="1">')

 

Where 'Create_HTML_table' = the name of the Create HTML compse

 

Basically the replace would allow you to modify anything in the table

View solution in original post

Highlighted
Regular Visitor

Re: Create HTML and formatting the table in an email

Please let us know the inputs need to be populated on Create Html From field ..it should be body  or something else. when i tried body it updated sharepoint link not email

Highlighted
Super User
Super User

Re: Create HTML and formatting the table in an email

The inputs in most cases for me is the result from a 'select' action step.  The select puts a rows from a list into an array table with column headers etc which you can then use the result to be put into a create html table.  

 

This does not show borders,  hence the need for the replace function

Helpful resources

Announcements
firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

Join the new Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

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 (10,491)