SharePoint 2010/2007: What to do when Jquery inside some CEWP messes up the Page/Removing a Bad WebPart

Context:
Let me put in this way. I made a custom webpage for a SharePpoint 2010 team site and placed a lot of webparts including a Content Editor webpart that comprised of JQuery and SPServices. Now something may have gone wrong with the jquery code as it is quite vulnerable and that really blocked my page.

Solution:
The only solution that I could think of at the point in time was to remove the content editor webpart altogether before situation escalates that means nipping the evil in the bud ;).

so here was my page
http://mysharepointserver/Custom%20Library/CalendarPage.aspx

I simply added a query string i.e. Contents=1 so the URL is

http://mysharepointserver/Custom%20Library/CalendarPage.aspx?Contents=1

 This URL redirected me to a new page called "Web Part Maintenance Page"



so here I had the chance to delete the web part that I did not want.

Reference(s):
https://www.nothingbutsharepoint.com/sites/eusp/Pages/Remove-a-Bad-Web-Part-in-SharePoint.aspx
http://support.citrix.com/article/ctx108094

Comments

Popular posts from this blog

SPFx: Develop using SharePoint Framework without Installing all the dependecies.

SharePoint Online: Elevated Permissions....with love

Powershell: Filling up an Existing Excel Sheet with data from SQL Server