cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Post Patron
Post Patron

"Link to document" Dynamic Content doesn't post as clickable link in Teams

Hi Folks,

 

Is there a way to post in Teams through a Flow, a clickable URL to a document that resides in SharePoint?

1 ACCEPTED SOLUTION

Accepted Solutions
Super User II
Super User II

Re: "Link to document" Dynamic Content doesn't post as clickable link in Teams

Hello @trishmalloy 

Yes there is!

You can use the Team action "Post a message" and add the Link to item value from the document.

FlowPostInTeamsChannelWithLink.png

Suggest you to use HTML to enter an anchor element with href="Link to item".

I found that the link button in the Message field is not really useful 🙂

 

Hope this helps you on the way.

Kind regards, John

View solution in original post

6 REPLIES 6
Super User II
Super User II

Re: "Link to document" Dynamic Content doesn't post as clickable link in Teams

Hello @trishmalloy 

Yes there is!

You can use the Team action "Post a message" and add the Link to item value from the document.

FlowPostInTeamsChannelWithLink.png

Suggest you to use HTML to enter an anchor element with href="Link to item".

I found that the link button in the Message field is not really useful 🙂

 

Hope this helps you on the way.

Kind regards, John

View solution in original post

Highlighted
Post Patron
Post Patron

Re: "Link to document" Dynamic Content doesn't post as clickable link in Teams

It doesn't look like you're using HTML from the screen shot you posted?

 

This is how I have things set up.  The URL is posted in Teams, it's just not clickable.  

 

Flow.PNG

Highlighted
Super User II
Super User II

Re: "Link to document" Dynamic Content doesn't post as clickable link in Teams

Hello @trishmalloy 

Yes, in my screenshot I did not use a link. I hoped you would use the marked HTML button "</>" to try it yourself 🙂

FlowPostInTeamsChannelWithLink2.pngThis is the screenshot where I changed it into a link.

Kind regards, John

Highlighted
Post Patron
Post Patron

Re: "Link to document" Dynamic Content doesn't post as clickable link in Teams

Now I'm getting "BadRequest" message when I test the flow.  ??

 

<p> <a href="https://staffcscc.sharepoint.com/samplehighschool/Shared%20Documents/docusign2.png">Direct link to file</a></p>

 

flow2.PNG

Highlighted
Super User II
Super User II

Re: "Link to document" Dynamic Content doesn't post as clickable link in Teams

Hello @trishmalloy 

Works perfectly for me!

Please ensure that you have chosen the Channel from the list and not just entered a custom value!

Kind regards, John

Highlighted
Post Patron
Post Patron

Re: "Link to document" Dynamic Content doesn't post as clickable link in Teams

@JohnAageAnderse - Thank you.  This did end up working for me today.  Thank you!!

Helpful resources

Announcements
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Users online (7,156)