Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Link to list item truncated in Clean HTML

(0) ShareShare
ReportReport
Posted on by 164

I'm having an issue with the link to SPO list item links being truncated in emails. I'm using the formula replace(replace(replace(replace(replace(replace(body('Create_HTML_table_of_audited_items'), '&lt;', '<'), '&gt;', '>'), '&amp;', '&'), '&#39;', '"'), '&quot;', '"'), '"', decodeUriComponent('%27')) to fix the output of the link. It outputs the link fine when I use the dynamic output for the link to item, but once I try to transform the text in the select action using

"Effort": "<a href=\"@{item()?['{Link}']}\">@{item()?['Effort']}</a>",
then it starts to truncate the link. The column type I'm using for 'Effort' is single line of text.

 

RADical_0-1663786933963.png

 

Expanded view:

RADical_1-1663789556690.png

 

Please help....

 

  • RADical Profile Picture
    164 on at
    Re: Link to list item truncated in Clean HTML

    @v-yujincui-msftThanks for the swift reply. This seems to have solved the problem with the link, but it broke my color formatting. I'll have to see how I can get that fixed, but at least the major issue is resolved.Thanks again!

  • Verified answer
    v-yujincui-msft Profile Picture
    on at
    Re: Link to list item truncated in Clean HTML

    Hi @RADical ,

     

    I have made a simple test for your reference.

    concat('"Effort":', '<a href="', item()?['{Link}'], '">',item()?['Effort'],'</a>')
    replace(replace(replace(body('Create_HTML_table_of_audited_items'),'&lt;','<'),'&gt;','>'),'&quot;','"')

    vyujincuimsft_0-1663826541937.png

    vyujincuimsft_1-1663826570207.png

    Result Screenshot:

    vyujincuimsft_2-1663826599841.png

    In addition, here is a link for your reference.

    https://tomriha.com/how-to-add-hyperlink-in-the-create-html-table-power-automate-action/

     

     

    Best Regards,

    Charlie Choi

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

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

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1