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
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

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.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Top Solution Authors
Users online (1,815)