cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
martinav
Resident Rockstar
Resident Rockstar

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
Resident Rockstar
Resident Rockstar

@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
MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MSFTBizAppsLaunchEvent

Experience what’s next for Power Virtual Agents

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Users online (47,564)