This is a quick tip for anyone who has noticed when they update images in modern SharePoint sites that they don’t seem to update.
I’ve recently been doing a lot more authoring/ page editing in modern SharePoint and a small quirk I have noticed is around images. Usually, if you update an image and overwrite the original a forced browser refresh (CTRL+F5) does the trick – the image will update to show the newest version.
The problem
I’ve been doing the exact same thing in a SharePoint communication site recently and noticed that the updated image would not display – no matter how many times I force refreshed the browser, no matter which browser I use (I flit between Chrome and Edge Chromium quite a lot). The image(s) were saved in the Site Assets Library, not weren’t checked out either so no reason why they would not display once overwritten.
The image (product, right) doesn’t update to reflect the changes made in SharePoint.
The solution
I’ve found a really simple way to get around this:
Right-click on the image > Open the image in a new tab
Force refresh (CTRL + F5) the image in a new tab
Navigate back to the SharePoint communication site > force refresh (CTRL + F5) again
The image will now be displayed as expected
Opening the image in a new tab or window then force refreshing will update the image on the SharePoint page.
If anyone else has come across this issue, or found any other ways to solve it – let me know in the comments!
Recently I came across an issue with a SharePoint 2010 publishing site. The site had a page on it that was being edited and after a series of web parts were added, crashed and would no longer load. An additional issue here was that there wasn’t another, recent version of the page to restore to.
So, in the steps below detail how I was able to access the page using web part maintenance mode and delete the problem web part:
Navigate to the problem page’s URL
At the end of the URL add ?contents=1
This will then open the problem page up in web part maintenance mode. From here you are able to close, restore defaults or delete web parts from your page
NOTE: make sure you page is checked out before trying this else you won’t be able to make any changes.
Select the web part(s) which you think are causing the issue
Now select to either close, reset or delete the web part. I chose delete
A warning message will appear > press OK
Modern SharePoint
When writing this post I wondered if this method of accessing web part maintenance mode still worked for modern SharePoint – the answer was no! When you try to open a modern page using ?contents=1 you get this:
Opening modern SharePoint pages in classic maintenance mode won’t work.
However, after reading this handy article from Microsoft about maintenance for client-side web parts in SharePoint Online I just switched my query to ?maintenancemode=true and it worked!
Modern web parts have there own query to append to the page URL to access maintenance mode.
Different to the classic example, modern web parts when in maintenance mode show summary, manifest and data tabs with information about each web part.
If you wish to delete a web part from this view you will need to edit the page and delete it from there, then republish like in the example below:
Deleting web parts in maintenance mode within a modern SharePoint page.
SharePoint URL’s
There are loads of URL’s that either I can never remember or haven’t come across that are listed here. However I wanted to keep a list of them on my site just for reference: