How to add closed web parts on page in SharePoint 2013?

add closed web part sharepoint 2016

Scenario:
In a site collection I have a page with multiple webparts across the zones. As part of recent solution release one of the web part logic on the page was implemented incorrectly and user advised me don’t show the webpart till we correct the logic. Here we will discuss how we can add closed web part in SharePoint 2010.
Steps to add closed web part sharepoint 2013:
We can add closed web part by 2 ways to address the user advice.
1. Delete the webpart from the page
2. Close the webpart as part of webpart manager page
We can delete the web part from the SharePoint page, by which it will be removed. But instead of that we can close the webpart from the page.
Here I would like to choose the option 2.
Steps to Close the webpart as part of webpart manager page:
-> Open the SharePoint page and Add “?contents=1” query string to the URL to redirect the page to webpart maintenance page
Ex: http://sharepoint13:12345/SitePages/Home.aspx?contents=1
add closed web part sharepoint 2013

– Select the web part you want to remove from the page and click on close
Ex: Documents webpart


add closed web part sharepoint 2016
add closed web part sharepoint 2016

– As soon as you close the webpart the status will be turned as NO

Restore Closed Web Parts in SharePoint
Restore Closed Web Parts in SharePoint

– Since we have closed the web part on the page it will not render on the page any more.

Restore Closed Web Parts in SharePoint 2013
Restore Closed Web Parts in SharePoint 2013

If we want to add the webpart back on the page follow the below steps:
– Edit the page from page edit option

sharepoint 2013 restore closed web part
sharepoint 2013 restore closed web part

– Click on add web part and select closed web parts from Categories list and select documents web part from Parts list and click on add button



sharepoint 2013 web part maintenance page url
sharepoint 2013 web part maintenance page url

– Once you add the web part you close the page edit mode and click on Save button

 sharepoint 2013 show hidden web parts
sharepoint 2013 show hidden web parts
That’s it you will get the closed webpart back on the page with all the data and functionality.
Advantages with this approach:
-> If we have added to the webpart as part of properties all those will remain same
-> We need not to specify which zone it need to be added as it is a closed webpart on the page
-> This will change webpart status as open on webpart maintenance page
Hope this helps you happy development in SharePoint.

Similar SharePoint 2013 Tutorials


Leave a Reply