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

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
    387 Moderator 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 224 Super User 2026 Season 1

#2
David_MA Profile Picture

David_MA 185 Super User 2026 Season 1

#3
Kalathiya Profile Picture

Kalathiya 94 Super User 2026 Season 1

Last 30 days Overall leaderboard