Accidentally deleted a webpart, how can I get it back

FarmAdmin picture FarmAdmin · Aug 10, 2009 · Viewed 44.4k times · Source

I have deleted "New comment" webpart on the Blog Post detailed Page on the my SharePoint blog site, I am unable to find it in the webpart list.

How can I get undo / add the webpart back.

Answer

Alex Angas picture Alex Angas · Aug 11, 2009

If you have clicked the X button in the top-right corner of the web part, it is simply closed. You can get it back as follows:

  1. Click on Actions, Edit Page
  2. Click Add a web part
  3. Click Advanced Web Part Gallery in the top bottom-right corner of the dialog
  4. Click on Closed Web Parts in the tool pane on the right
  5. Drag the closed web part from the tool pane back onto the page

If you have actually used the drop-down menu on the web part and clicked Delete, it really is deleted. If you have check-in/out available to the page you can go back to a previous version to restore it. Otherwise you will need to restore from backup if you have one.