SharePoint Webpart Title URL Replaces ‘#’ With ‘%23’

In this blog, I will demonstrate how to overcome Yammer URL encoding issues in the webpart title. I have added a content editor webpart to embed a Yammer group feed and it works fine.

Further, we have configured webpart title URL to point to that Yammer group, so that the users can open group conversations in full window. Group link is copied from the address bar of that specific yammer group, as shown below.

https://www.yammer.com/company.com/#/threads/inGroup?type=in_group&feedId=12668139&view=all

Surprisingly, after saving the page webpart, title link didn’t work. After having a close look, I noticed ‘#’ is replaced with ‘%23’.

https://www.yammer.com/company.com/%23/threads/inGroup?type=in_group&feedId=12668139&view=all

Here are some approaches to fix the issue.

URL Formatting

Format yammer group URL as below.

https://www.yammer.com/{network permalink}/groups/{feedId}

Original URL

https://www.yammer.com/company.com/#/threads/inGroup?type=in_group&feedId=12668139&view=all

Formatted URL

https://www.yammer.com/company.com/groups/12668139

Simply Add ‘?’ before ‘#’ (you will like this :) )

https://www.yammer.com/company.com/?#/threads/inGroup?type=in_group&feedId=12668139&view=all

I hope this blog solved your hiccup. Thank you.