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

Community site session details

Session Id : +KaJCydHwU/3fZpy2oj3LH
Power Automate - Building Flows
Answered

Link to list item truncated in Clean HTML

Like (0) ShareShare
ReportReport
Posted on 21 Sep 2022 19:54:11 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....

 

I have the same question (0)
  • RADical Profile Picture
    164 on 22 Sep 2022 at 11:47:50
    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 22 Sep 2022 at 06:03:58
    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 809 Moderator

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 711 Super User 2025 Season 2

#3
stampcoin Profile Picture

stampcoin 373 Super User 2025 Season 2

Last 30 days Overall leaderboard
Loading started
Loading complete