My Flow : OneDrive for Business (new file created) -> office 365 outlook (send email)
Intent : Too send email to members when new file was created and provide a hyperlink to the file.
Issue : only able to add " file path" from Dynamic Content options.
Quety : how may i include the file hyperlink in the email body without manually copying the hyperlink from the file and pasting it here ?
Regards
Leonard
Solved! Go to Solution.
Hi @pstan,
Thanks for the update.
If convenient, please accept it as the solution so that others could find it efficiently.
Regards
Hi @pstan,
If you would like the dynamic content to generate the corresponding Hyperlink (for sharing purpases) under the Microsoft Flow dynamic content, then please consider submit this as an idea.
For a workaround, we could add (hardcode ) a static folder link to the OneDrive folder, so that users could check the newly added files.
add the below code in body of your email.
<A HREF="TheSharedLinkhere">CustomTexthere</A>
After that, click the adavanced options from Send email Action and set 'Is HTML' property value to YES.
Hope the information above is helpful.
Regards
Hi v-micsh
Thankyou for the suggestion.
The Flow failed. Error returned as follows :
Hi @pstan,
Could you please share a screenshot of the error details (Under Which Action)?
https://flow.microsoft.com/en-us/documentation/fix-flow-failures/
The Shared link should be the folder link, in addition, make sure the Folder under OneDrive is shared to the flow users.
Regards
Hi v-micsh
Screen shot attached.
Error surfaced under " Outlook 365 - Send Email" .
Yes, The link attached is a folder link and I only shared to myself for this test.
Hi v-micsh - Just to keep you posted that the above actually CODE worked. THANKS!
Hi @pstan,
Thanks for the update.
If convenient, please accept it as the solution so that others could find it efficiently.
Regards
I am using the Flow Email component (not the Outlook one) and when I am sending the email using the <a> tag, it still doesn't format it properly in the email:
Any idea as to why? I ahve tried both '<A>' and '<a>' and it still comes up the same. I have also cheked the 'Is HTML' property and it's value is set to YES
Now there is a new concept of creating "Shareable Links" using Microsoft Flow:
Use Microsoft Flow to generate tenant-shareable links for SharePoint Online
The article highlights a use case for a SharePoint document library, however, there are actions that perform the same functionality on OneDrive for Business (preview) as well.
The benefits to using this approach over the traditional file link are:
1. Guarantees that there are not access issues to the file from an email
2. Allows for more control over the link behavior (Read/Write, Expiration Date, Scope)
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.