cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
martinav
Super User
Super User

How to write a little HTML in an HTML table.

I want to make a pickable text link in my HTML table.  This doesnt seem to do it.  It just shows the code.

 

image.png

In this example, I just want to see "Text Link" in the LinkToECN column.

image.png

Can do?

1 ACCEPTED SOLUTION

Accepted Solutions
SCTdan
Continued Contributor
Continued Contributor

 

You can create a compose action after you create your table and use this expression -

 

replace(replace(body('Create_HTML_table'), '&lt;', '<'), '&gt;', '>')

That'll convert the HTML table to actual usable HTML, without the contents being encoded.

 

If you're sending it via email, just make sure you have it set to send as HTML.

 

View solution in original post

5 REPLIES 5
SCTdan
Continued Contributor
Continued Contributor

 

You can create a compose action after you create your table and use this expression -

 

replace(replace(body('Create_HTML_table'), '&lt;', '<'), '&gt;', '>')

That'll convert the HTML table to actual usable HTML, without the contents being encoded.

 

If you're sending it via email, just make sure you have it set to send as HTML.

 

@SCTdan ,

 

Yes!  That works perfectly.  Exactly the result I was after.

 

I have absolutely NO idea how you wizards know how to do this stuff...

 

I would have gotten nowhere with my apps without these forums!

This is amazing!

 

Thank you *so* much, @SCTdan !!

 


@SCTdan wrote:

 

You can create a compose action after you create your table and use this expression -

 

replace(replace(body('Create_HTML_table'), '&lt;', '<'), '&gt;', '>')

That'll convert the HTML table to actual usable HTML, without the contents be encoded.

 

If you're sending it via email, just make sure you have it set to send as HTML.

 


 

 

Hi @SCTdan

I try your solution but still have wrong results. 

 

result in the email :

<a href="https://tasks.office.com/groupe-multiconnect.com/fr-FR/Home/Task/2OQCIvmf7EGWllOAbvETu5cAGiAz">Link</a>

 

do you have an idea please ?

Tx

@JimmyJames25 Check for the run results. The double quotes might be encoded to &quot;

 

If so, try replace quotes 

replace(replace(replace(body('Create_HTML_table'), '&lt;', '<'), '&gt;', '>'), '&quot;', '"')

 

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (3,087)