cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
martinav
Community Champion
Community Champion

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.

 

View solution in original post

martinav
Community Champion
Community Champion

@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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Microsoft Ignite 768x460.png

Find your focus

Explore the latest tools,training sessions,technical expertise, networking and more.

Users online (2,020)