cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
LBGMantelli
Frequent Visitor

Add title to two HTML tables in style step

Hello, I am using power automate to get certain fields from a powerapp and then converting them into HTML tables.

 

For space purporses I have split the fields into 2 HTML tables, and I have used a compose operation to style it, getting this results:

 

LBGMantelli_0-1634932076290.png

 

Is there a way to add title to each of these tables? As these tables are converted from powerapps I can't edit the HTML code itself, so I think I have to work on the style operation.

 

Thanks in advance

 

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @LBGMantelli :

If you only need to add a title to the html table, then you only need to replace the '<table>' in the HTML text with '<table border="1"><caption>Table Name</caption>'.

I've made a test for your reference:

vbofengmsft_0-1635130469628.png

The Result:

vbofengmsft_1-1635130480332.png

Best Regards,

Bof

 

 

View solution in original post

7 REPLIES 7
VJR
Memorable Member
Memorable Member

Hi @LBGMantelli 

 

Could you share what is the compose operation used to style it.

 

And then where is the html table to be written. Is it sent via an email?

Thanks.

LBGMantelli
Frequent Visitor

Hi, the compose action works on a collection, then I have two select actions to make two tables:

 

LBGMantelli_0-1635079469491.png

 

These tables are converted into PDF and sent via e-mail:

 

LBGMantelli_1-1635079531324.png

 

These are the two tables. I want to add a title to each so the look with more space between them.

 

@LBGMantelli

Can I confirm my understanding that you have 2 convert to HTML actions where you pass their output to the email?

Can you share the email step and how it looks like?

 

If this post helps you with your problem, please mark your as Accepted solution.If you like my response, please give it a Thumbs Up.

Blog: here

Right, these are the two steps:

 

LBGMantelli_0-1635082301441.png

 

In " Style " I have two sets of style code for these two outputs (coould not fit the picture but as you can see there is an output (each table), after the style code:

 

LBGMantelli_1-1635082405497.png

 

 

 

Hi @LBGMantelli :

If you only need to add a title to the html table, then you only need to replace the '<table>' in the HTML text with '<table border="1"><caption>Table Name</caption>'.

I've made a test for your reference:

vbofengmsft_0-1635130469628.png

The Result:

vbofengmsft_1-1635130480332.png

Best Regards,

Bof

 

 

View solution in original post

@LBGMantelli 

Did you try what is suggested by @v-bofeng-msft  ?

 

If this post helps you with your problem, please mark your as Accepted solution.If you like my response, please give it a Thumbs Up.

Blog: here
LBGMantelli
Frequent Visitor

Thanks!

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (4,008)