question

RhysKelsey-8596 avatar image
0 Votes"
RhysKelsey-8596 asked JerryXu-MSFT answered

Sharepoint Lists/JSON column formatting: How do I prevent '%20' being converted to a space in the email?

I have Sharepoint List which was created with spaces in its name which means the url was created including %20 to replace the spaces.

I have column formatting to send an email to the person named in Person field and the email created includes a link to the list item in question. The problem is that the instances of %20 in the url are replaced with a space which ends the link prematurely meaning it no longer works.

How do I prevent '%20' being converted to a space in the email?

office-sharepoint-online
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

JerryXu-MSFT avatar image
0 Votes"
JerryXu-MSFT answered

Hi, @RhysKelsey-8596 ,

To avoid '%20' being encoded, please try to use '%2520' to replace '%20'. It shall work for you now.
85073-image.png 85074-image.png


If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


image.png (15.2 KiB)
image.png (9.8 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.