Microsoft Flow Send Email action does not URL encode hyperlinks to SharePoint list items when lits items are referenced by in the email body. This causes hyperlink to be broken in email bodies if spaces are part of SharePoint list url.
SharePoint List Item is referenced in an email step as "Link to Item" dynamic content:
The hyperlink in an email looks like:
I will try to report this issue to the pg and should there is any update later, I will get back and notice you here. Thanks for your feedback.
I just tried with a list named "List Test" and filled the email body with Link to item. What I receive in the email body is like this:
After I click on this URL, I can successfully access this item actually. So the hyperlink is not broken.
Did you link broken and cannot access the item?
Thank you for looking into this issue.
In my case, the SharePoint site URL contains blanks and that what seem to be causing problems. The URL to my SharePoint site looks similar to https://msdnmona.sharepoint.com/sites/Team Site. Any references to list items in https://msdnmona.sharepoint.com/sites/Team Site site are not formatted correctly in the emails that are sent by Flow. They look like https://msdnmona.sharepoint.com/sites/Team, chopped at where the blank is in the site's URL. Luckily I found a workaround to enclose "Link to Item" in double quotes. But it will be nice if Link To Item worked without quotes.
Thank you for your help,
I'm still encountering this issue. None of the special characters in links are percent encoded, which means when we add them to an HTML snippet through Link to Item, the users receive 404 errors.
A work arround for now is to manually build the first part of the link to the library, and then URI encode the document name and concat it on.
Check out the on demand sessions that are available now!
ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.
Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!