I have a local server folder link in my private data that i use in e-mails as a hyperlink. It sometimes contains spaces and & symbols. Replacing the & works fine with String Replace, but when i try to replace space with the newest preview version of outlook changes it to %C2%A0
Am i using String replace wrong somehow? My replace is " = ". Or is this somekind of an Outlook bug? I tried using UTF-8 encoding to change the space to %20, it's correct in Outlook, but the link still does not work, copying the link to explorer shows the space as %20.
Replace string in hyperlink, new Outlook error
-
- Member
- Posts: 134
- Joined: Fri Jun 12, 2020 11:23 am
Re: Replace string in hyperlink, new Outlook error
  is an HTML construct. A space in a URL is encoded as %20, so if you use that in String replace it should work.
-
- Member
- Posts: 134
- Joined: Fri Jun 12, 2020 11:23 am
Re: Replace string in hyperlink, new Outlook error
I am running into some difficulties with this. I am not sure if String Replace does change the spaces or not. When i run the file through String Replace with Private data mode, no errors appear and the address is still with spaces. My address is inside a dataset, but using the dataset mode changes everything inside that dataset, which i can't use, because there is other information inside there and using the dataset mode breaks the metadata. I am not sure if using the Private data mode is correct. My data is situated at:
Code: Select all
[Metadata.Text:Dataset="PPinfo",Model="XML",Path="/orderinfo/customerPath"]
Am i perhaps doing something wrong here, or should i just wait for Outlook to hopefully fix their links before we start using the new version?
- magnussandstrom
- Advanced member
- Posts: 510
- Joined: Thu Jul 30, 2020 6:34 pm
- Location: Sweden
- Contact:
-
- Member
- Posts: 134
- Joined: Fri Jun 12, 2020 11:23 am
Re: Replace string in hyperlink, new Outlook error
Tried, but had no success, it just displayed the encoded URI as regular text, even though it was inside html tags.magnussandstrom wrote: ↑Fri Aug 30, 2024 12:26 pm Have you tried this app? https://www.enfocus.com/en/appstore/product/uri-handler
Although a solution I found was to use UNC paths in the link. Outlook still displays the link with encoded symbols, but now it works when i try to open it. Something I also noticed was that now outlook adds a file:// in front of the link.
Re: Replace string in hyperlink, new Outlook error
Does anyone know of a way or a program that will read a received email and recognize a static format of text (in my case it will be "#" followed by 6 integers), and make that a hyperlink to a webpage?
I have to think something similar exists. This would operate in the same fashion that when you type "www.google.com" and then hit Enter or space, it automatically converts this into a hyperlink. That is for a composed email, I'm looking for this in received emails.
I have to think something similar exists. This would operate in the same fashion that when you type "www.google.com" and then hit Enter or space, it automatically converts this into a hyperlink. That is for a composed email, I'm looking for this in received emails.