web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Add title to two HTML ...
Power Automate
Answered

Add title to two HTML tables in style step

(0) ShareShare
ReportReport
Posted on by 23

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

 

Categories:
I have the same question (0)
  • VJR Profile Picture
    7,635 on at

    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 Profile Picture
    23 on at

    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.

     

  • Mira Ghaly Profile Picture
    11,413 Moderator on at

    @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?

     

  • LBGMantelli Profile Picture
    23 on at

    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

     

     

     

  • Verified answer
    v-bofeng-msft Profile Picture
    on at

    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

     

     

  • Mira Ghaly Profile Picture
    11,413 Moderator on at

    @LBGMantelli 

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

     

  • LBGMantelli Profile Picture
    23 on at

    Thanks!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard