cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
anthonys123
Helper III
Helper III

Code View hyperlink is being rewritten when using LINK TO ITEM to POST A MESSAGE in Teams.

I'm composing the hyperlink in code view as <a href="LINKTOITEM">Click here</a>.  

When I leave code view, the link rewrites itself as shown below. When I go back to code view, the hyperlink has changed to <a href="&lt;object custom=">@{body('Update_file_properties')?['{Link}']}"&gt;CLICK HERE</a><br>

 

I'm sure this used to work but I'm editing a flow and it's all of the sudden giving me problems. 

 

Screen Shot 2021-09-08 at 3.04.38 PM.png

Screen Shot 2021-09-08 at 3.04.51 PM.png

Screen Shot 2021-09-08 at 3.17.24 PM.png 

 

I was able to resolve the rewrite by using 

<a href="body('Update_file_properties')?['{Link}']">Click here</a> to open the file.<br>

instead of placing the dynamic value directly in the code.  Although, this link is not clickable when posted in Teams. 

1 ACCEPTED SOLUTION

Accepted Solutions
anthonys123
Helper III
Helper III

GOT IT!!  

concat('<a href="', body('Update_file_properties')?['{Link}'], '">CLICK HERE</a>')

I found a solution from this site

 

Screen Shot 2021-09-10 at 9.22.47 AM.png

View solution in original post

1 REPLY 1
anthonys123
Helper III
Helper III

GOT IT!!  

concat('<a href="', body('Update_file_properties')?['{Link}'], '">CLICK HERE</a>')

I found a solution from this site

 

Screen Shot 2021-09-10 at 9.22.47 AM.png

Helpful resources

Announcements
MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

New Process Advisor Capabilities carousel.png

Read the blog for the latest news

Read the latest about new experiences and capabilities in the Power Automate product blog.

PA Survey Carousel Image.png

We want to hear from you!

If you are a small business ISV/Reseller, share your thoughts with our research team.

Users online (2,106)