Category Archives: Tips and Tricks

Useful stuff, easily forgotten

Redirect relative to the SharePoint LAYOUTS directory

If you ever need to redirect to a page that resides in the /_layouts/ virtual directory, i.e. the physical directory found in the SharePoint root in {SharePoint Root}\TEMPLATE\LAYOUTS it is possible to do so without hard coding the URL. Use … Continue reading

Posted in SharePoint, SharePoint 2007, SharePoint 2010, Tips and Tricks | Leave a comment

GetAssociationByBaseId returns null when the workflow association is disabled

This in my opinion is a bug but feel free to disagree. I came across this odditty when checking that workflow associations were enabled before attempting to start the workflow programmatically.

Posted in SharePoint, SharePoint 2007, SharePoint 2010, Tips and Tricks | Tagged , , | Leave a comment

Increase the manageability of CEWPs using jQuery and a single list

A few days ago I was asked to take a look at a SharePoint site with a faulty web part. The fault was in a web part on a site home page used to display the site’s announcements. Easy I … Continue reading

Posted in SharePoint, SharePoint 2007, SharePoint 2010, Tips and Tricks | Tagged , , , | Leave a comment

A fix for the Contact Detail web part

I’ve noticed that adding two or more Contact Details web parts to a page breaks the presence information behaviour. Moving the mouse over the first entry works but all others on the page do not. There have been various fixes … Continue reading

Posted in .NET Development, SharePoint, SharePoint 2007, Tips and Tricks | Tagged , | Leave a comment

Using Disk Cleanup in Windows Server 2008 R2

If you ever have a need to run Disk Cleanup to free up space in Windows Server 2008 R2 then don’t be surprised when you can’t find it! It is actually installed as part of the Desktop Experience feature. So … Continue reading

Posted in Tips and Tricks | Tagged | Leave a comment