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

Rhys Kelsey 21 Reputation points
2021-04-06T10:30:29.24+00:00

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?

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,592 questions
0 comments No comments
{count} votes

Accepted answer
  1. Jerry Xu-MSFT 7,921 Reputation points
    2021-04-07T02:18:42.653+00:00

    Hi, @Rhys Kelsey ,

    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.

    0 comments No comments

0 additional answers

Sort by: Most helpful