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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Upcoming Events

Experience what’s next for Power Automate

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Top Solution Authors
Top Kudoed Authors
Users online (6,947)