web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Add link to folder pat...
Power Automate
Answered

Add link to folder path in outlook email

(0) ShareShare
ReportReport
Posted on by 84
Greetings,
I am trying to send the folder path and make it a hyperlink via outlook but i am running into a few issues. I know we can link the item / document to the email using dynamic content, however I only want the folder path and have it selectable. I initialized a variable and hardcoded in the site address then used the full path dynamic content to map to the actual document. In the email I wrote a replace expression that removes all spaces from the string (folder path) and replace them with a /. When i clicked the link to the path to the document i received a 404 error.  Still new so any assistance is much appreciated. Thank you
 
replace(variables('Link to document'),' ''/')
 
 
Categories:
I have the same question (0)
  • Verified answer
    MMcCloud Profile Picture
    357 Super User 2025 Season 2 on at
    Good Morning Friend,
     
     
    As an easy start with your formula you are doing:
    replace(variables('Link to document'),' ''/')
     
    This is replacing the ' ' (space) character with a '/' (forward slash) in SharePoint if I am understanding your requirements correctly you need a %20 for each space so more like this:
    replace(variables('Link to document'),' ','%20').

    Another option also is to just use the 'link to item' for a link to trigger!





    Be sure to say if you need more help and up vote if this helps.
  • Blue87 Profile Picture
    84 on at
    Thank you very much! This answered my question, i needed to use %20 in the replace expression. Yes, i am aware of the link to item however i just wanted the path not the actual item as I want the end user to be able to update the columns without having to map to where the document lives after they view it. ( i am sure there are easier ways)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard