Microsoft 365 – SharePoint Online – Image webpart – resolving issue – image link disappearing – small lesson learned

Hi All,
Greetings for the day!!!
Today new issue and solution 🙂 Small learning but important one.
Issue : Link set to image in Image webpart is disappearing.
Details
- On one of our SharePoint page we have added “Image” web part.

- We edited the webpart and set the link webpart property to one of our document from document library.
- We published the page.
- First time link is working. Redirecting to the correct link set.
- Next time when we visit the page, link is not working.
- We verified editing the webpart and it seems link disappears.
Cause
- Folder in which document is available is having special characters at the end – “%E2%80%8B“
- Those characters are not visible from UI but appearing in the URL as

- This happened because folder name is copied from somewhere and those characters are also get copied.
Solution
- We have couple of options
- Completely renaming the folder is one choice. This is not practical as we are not sure where else this document is referenced. Those links will be broken.
- Create a new folder, copy the document and reference it. And henceforward use the new location of the document. We went for this choice.
- After correcting the link – Image web part persisting the link and working properly.
Lesson Learned : From wherever we copy, paste it into a plain text editor like notepad first. This ensures that special characters are avoided.
Thanks for reading !
HAPPY LEARNING AHEAD 🙂 LIFE IS BEAUTIFUL 🙂

You must be logged in to post a comment.