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:
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
Solved! Go to Solution.
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:
The Result:
Best Regards,
Bof
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.
Hi, the compose action works on a collection, then I have two select actions to make two tables:
These tables are converted into PDF and sent via e-mail:
These are the two tables. I want to add a title to each so the look with more space between them.
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?
Right, these are the two steps:
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:
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:
The Result:
Best Regards,
Bof
Did you try what is suggested by @v-bofeng-msft ?
Thanks!
User | Count |
---|---|
90 | |
44 | |
21 | |
18 | |
16 |
User | Count |
---|---|
133 | |
49 | |
42 | |
36 | |
28 |