Skip to main content

Notifications

Community site session details

Community site session details

Session Id : rEe3NCZ4bqCMzt4As35mwb
Power Automate - Building Flows
Unanswered

Add Link to a column from a dynamic HTML table

Like (0) ShareShare
ReportReport
Posted on 5 Aug 2021 03:32:57 by

Hi everyone, Hope you can help!

 

Our flow is basically connected to an excel table (One Drive for Business) and will send an email to different contacts. Each email contains a dynamic HTML table (i.e If Sam has 3 invoices submitted, he would receive a table with 3 rows, Rachel will receive 8 rows reflecting her 8 invoices, etc.) but i want to add a hyperlink to the column "Invoice Number" that should send us to a webpage containing of each exact invoice (i.e Sam's Invoice 88876, row 1 of his html table has an hyperlink to a google page with the invoice 88876 pdf). Can you help? 

 

I followed this flow: https://alextofan.com/2019/02/14/flow-how-to-change-the-style-of-your-html-table-in-flow/ but i can't add an hyperlink

 

This is how it looks right know with the next code but no webpage gets open.

I have in my excel table the columns ID and Link (Which is the webpage)

<td @variables('varStyle').cellEmptyStyle, @variables('varStyle').cellStyle)}>
@{concat('<a href=", if(empty(item()['Link']),'',item()['Link']), '">', if(empty(item()['ID']),'',item()['ID']), '</a>')}</td>

 

Gabriela972_0-1628134193780.png

Cheers!

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Automate - Building Flows

#1
stampcoin Profile Picture

stampcoin 87

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 70 Super User 2025 Season 1

#3
David_MA Profile Picture

David_MA 48 Super User 2025 Season 1

Overall leaderboard
Loading started