SharePoint farm backup

I think I have blogged about this before, but I cannot enough emphasize the importance of running SharePoints own backup together with your SQL database backup. Of course, some third party backup products might be able to restore in the same way as you can restore a site collection backup inside Central Admin, but it …

VPN client for Windows 7

I have installed Windows 7 and Office 2010 now, which is a big improvement from Vista! Though there are some applications that do not work with Win 7, like Cisco VPN. Yes, I am sure that someone has found a version and have done all the settings/regedit hacks that you must do, but really… So …

Display week number in a view

To calculate the week number in a view, enter following formula in a calculated column: Replace the “Yourdatefieldhere” with the column that contains the date field you want to calculate the formula on. Thanks to http://lamahashim.blogspot.com/2009/10/sharepoint-calculated-field-week-number.html for the formula. Swedish version=HELTAL((Yourdatefieldhere-DATUM(ÅR(Yourdatefieldhere);1;1)+(TEXT(VECKODAG(DATUM(ÅR(Yourdatefieldhere);1;1));”d”)))/7)+1 English version=INT((Yourdatefieldhere-DATE(YEAR(Yourdatefieldhere),1,1)+(TEXT(WEEKDAY(DATE(YEAR(Yourdatefieldhere),1,1)),”d”)))/7)+1 More examples of view formulas here

Center align a div in IE 8

Usually when I want to center align a div on a page, I use margin:auto auto and set my width to a specific width, like 940px in my stylesheet. But, this does NOT work in IE 8. So to make that work, use width:940pxheight:100%position:absoluteleft:50% (to tell that your div should start in the middle of …

Stop running this script

If you connect a secondary data source to your InfoPath form, and connect to a udcx file which contains a large amount of data: then you might get this error message inside the form: Very irritating! I did not find any solution to it, only that you can disable the script debugger in IE, but …

Create your own search control

I was looking for a way to get rid of the icon gosearch.gif in the Search Area in SharePoint: There is no way to replace the image with a css class, the only thing you can do is hide it with a new class that is called td.sbgo img and add the display:none to it. …

Gert rid of those login prompts

This post belongs to my issue described here which I have not found a solution to yet. Except from one of the issues: the login prompts!When you run a Vista client against your SharePoint site that you have installed on a Win Server 2008 then you are in trouble. First thing: dont run Vista, but …