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 / Change headings vertic...
Power Automate
Unanswered

Change headings vertical view from horizontal in HTML so the table format is two records per row

(0) ShareShare
ReportReport
Posted on by 2

I have created a flow where the answers from a form create an HTML file that is sent in an email. The problem is that the HTLM is vertical and not horizontal. This is how the flow looks like: 

thjo_1-1704375463908.png

thjo_2-1704375482194.png

thjo_3-1704375505229.png

thjo_4-1704375578035.png

The result looks like this: 

 

thjo_0-1704375431278.png

But I want it horizontal with two records per row, like this: 

Namn: Thea
Personnummer: 00000
Mobilnummer: 05555

and so on.... 

 

How can I change this? 

 

/Thea 

Categories:
I have the same question (0)
  • Verified answer
    Chriddle Profile Picture
    8,434 Super User 2025 Season 2 on at

    An example using xPath

     

    Chriddle_0-1704387235211.png

    Select

    From:

    xpath(
     xml(json( concat('{"Root":', outputs('Object'), '}'))),
     '/Root/*'
    )

    Map Label:

    xpath(item(), 'name(/*)')

    Map Value:

    first(xpath(item(), '/*/text()'))

     

    Result table

    Chriddle_1-1704387369293.png

    If your labels contain characters that are not allowed in XML node names, they will be encoded.

    To decode them check this post.

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 523 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 406 Moderator

#3
abm abm Profile Picture

abm abm 245 Most Valuable Professional

Last 30 days Overall leaderboard