Skip to main content

Notifications

Community site session details

Community site session details

Session Id : 9oD/N2YTR5rgB7NxA3Fbst
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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

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

Leaderboard > Power Automate - Building Flows

#1
David_MA Profile Picture

David_MA 373 Super User 2025 Season 1

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 306 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 299

Overall leaderboard
Loading started
Loading complete