Category: xsl

Show a message when your Content Query Webpart has no results

Show all subsites on a SharePoint 2010 page without code via SharePoint Designer

I was looking for an easy way to display a list of subsites in SharePoint 2010 and I couldn’t find it. It seemed you could only do that with some webparts or heavy use of custom code. Then I found Michael Wilcox blog who explains how to do it in SharePoint 2007 and I decided to …


Loading dates via SharePoint Designer Datasource creates problems with daylight savings time

At a dashboard project I was using the SharePoint Designer DataSource functionality, getting data from a SQL-Server (more on why in this blogpost). I was having a funny issue however: all dates I got from SQL-SERVER had 1 hour off. When I had the date “15/10/2011” in SQL, I would have “14/10/2011 23:00:00Z”. Sidenote: in …


Build a url in xsl for a dynamic link in SharePoint results page

If you create a custom results page for your SharePoint, you may want to create a custom url. For example, if you have a specific page that displays information and you want the users to go there via the search. Or, if you want to link to the dispform for a folder instead of the …