Hi!
I just want to ask if it is possible to put a link in an Email body in outlook. That when click, will open the folder path location of it.
I tried putting this <a href="FolderPath"> Path to Sales Folder</a> Where FolderPath is a string variable containing the Path. I tried clicking the link but it says Unable to open file:///'Folder path location' I hope there is a way around this. Thank you.
Please use the line that you mentioned.(Mentioning it again below for reference) in the body of the email. And finally don’t forget to check ““isHTMLBody”” option in the email properties.
<a href = " + the path you have " + >View Report <//a>
Let me know if you need a workflow for this, I will be happy to share.
I am sure about the IsBodyHtml. Might be my variable, I am string replacing my variable in a template, and I am not sure if something about the double qoutes.
the “<>” is included in my string replace. So lets say I am doing liek Template = Template.Replace("<FolderPath>",SalesFolderLoc) Where SalesFolderLoc is a string containing the folderPath. Then put the Template Variable(after replacing) in the Outlook’s Body
Thanks once again @Archie … One last question… is there a space in the folder path that you provided to the HTML Body?.. If not create a test file on the desktop folder of your machine and try passing that folder path to the email… Because above workflow is working in my machine and only possible issue that I can see is not having access to the specific file or file already being opened
If it’s spacing. There’s a space in the name of the folder. It’s the OneDrive folder of the client. Ex. CompanyA - OneDrive. I tried inputting other folder and it worked. I guess it has something to do with the folderPath name. I’ll discuss it first with my team. Thanks for the help btw.