Wednesday, July 04, 2012

SharePoint 2010 - how to remove a bad webpart from a page

If you have a webpart that is causing an error on a Sharepoint page, you can use the following URL to view all the webparts on the page, you can then select the webpart that is causing the error and delete it. http://sharepoint/SitePages/Home.aspx?contents=1

SharePoint 2010 - using stsadm to enable the developer dashboard

There are a number of ways to enable the developer dashboard in SharePoint 2010 - Via stsadm - Via Powershell - Via code I find the easiest way is via stsadm using the following command; stsadm -o setproperty -pn developer-dashboard -pv on or stsadm -o setproperty -pn developer-dashboard -pv ondemand to turn it off use stsadm -o setproperty -pn developer-dashboard -pv ondemand If you use the ondemand setting, you can turn it on and off via the user interface, you do this by clicking on the icon that you will find on the top right of the page. One thing to remember is that the developer dashboard is enabled throughout the entire Sharepoint farm, so you may not want to do this on a live server.

Friday, May 27, 2011

JQuery 1.6 Fail ?

 

Had all sorts of problems with JQuery 1.6, I’m going back to release 1.4.2 which I like.

Wednesday, May 04, 2011

How to retrieve a SharePoint list using rest

I’m using this so often these days and I keep forgetting the url to use, so I thought I’d put it here so I could find it.

http://sp2010a/teamsite/_vti_bin/listdata.svc

To retrieve information for a single list

http://sp2010a/teamsite/_vti_bin/listdata.svc/Contacts

Or perhaps just a single contact (in this case, the one with ID = 1)

http://sp2010a/teamsite/_vti_bin/listdata.svc/Contacts(1)

Friday, March 04, 2011

iisapp R.I.P

Out of habit I still type iisapp at a cmd prompt even though its gone in IIS7. I was going to add a batch file but that’s just grasping

Reminder to self:
%windir%\system32\inetsrv\appcmd.exe list wp