Wictor Wilen

Wictor Wilén is Product Leader at Microsoft. Former Microsoft Regional Director and SharePoint MVP, as well as an author and a well known international speaker

SharePoint

BreakRoleInheritance and AllowUnsafeUpdates

I have just struggled a while with a SharePoint Web Part that constantly threw an error, see below. This Web Part is creating a SharePoint list when it is first loaded by a user and it should create a list with permissions so that only the user has access to it (i.e. a personal list). This is done by breaking the role inheritance of the list using BreakRoleInheritance(false), so that no inherited roles are copied. I’ve used the method for this previously in the solution, but then this was done on a POST request and now it should do almost the same during a GET request, that is when the user navigates to the page.

Windows Vista

Windows Search Index Tool - updated

I made some updates to my Windows Search Index Tool so it also displays all the inclusion and exclusion rules and even functionality for adding and removing rules. So now you can easily exclude folders by creating a rule like this: On the Rules tab, click on the Add button. The button should only be enabled if you are running in elevated privileges on Vista. Enter the pattern, like the image shows and choose if it is an inclusion or exclusion rule and hit Add.

SharePoint

About SharePoint 14

SharePoint 14 is the next version of Microsoft SharePoint and during the PDC 2008 nothing new was revealed about SharePoint 14, but some small parts of the Office 14 clients were seen. SharePoint 14 will, most certainly, be released at the same time as Office 14 which most probably will be released when Windows 7 is released. My guess is that this point in time is in about a year. Windows 7 will pretty soon hit the beta stage, pre-beta bits are already out, and the Office 14 and SharePoint 14 products must enter the beta stage in the near future, to be able to have a release within a year or so. Closed or open beta remains to be determined.

Windows Vista

Introducing Windows Search Index Tool

Windows Search is a great for indexing your files and is included in Windows Vista by default (version 3). Version 4 is available for download from the Microsoft site. I recently had some problems when my index suddenly was corrupt and I had to restart indexing all files, which takes a long time if you are using your computer and do not want it to interfere with your work. Somehow it started working again but I have not been able to get it to index up all my files, there are always files left to index.

Business

PDC 2008: Reflections

Now sitting here at LAX and reflecting over what we have experienced during the PDC 2008 the last few days. We learned a lot about technical stuff and what’s growing up in Redmond, but I think the most important stuff is what’s happening to the software business in large. With Windows Azure as the first large scale service host and with the number of online services that Microsoft will release in the upcoming years we have a real challenge to adapt to these new business models. Not only Microsoft is running this way, just look at Amazon and others, but Microsoft have such an effect on a large number of users.

PDC 08

Windows 7 - first impressions

I have now done some initial testing and evaluation of the 6801 build of Windows 7, which we got at PDC 2008. First of all I was a bit disappointed that we did not get the updated UI that were shown during the keynote, instead we got a previous build that does not have that much changes in the UI. It boots pretty quick on my Virtual PC, yes I run it there – a little to early to switch out my main OS, and it has a nicer loading screen than Vista.

Microsoft

PDC 2008: Day 4, wrapping it up

So the last day of PDC 2008 is over. The brain has been cooked for a few days… This very day did not have any keynote and I kicked off with a session on the Visual Studio Extensions for SharePoint. I have note used this add-in since the first releases of it since I didn’t like it that much but had instead relied on manual packaging and deployment as well as STSDev. But after this I might think about moving over and try it out once again. During the session a basic site was built with some lists, event handlers and a Silverlight application using the new Charting controls.

SharePoint

SharePoint Fantastic 40 upgraded

The Fantastic 40, the set of application templates, for Windows SharePoint Services 3.0 has been updated with new language support. Among the new supported languages are Swedish, Danish, Portuguese and some more. Some of the DLL’s have also been updated (haven’t checked what). You can download them from here: Windows SharePoint Services 3.0 Application Template: Application Template Core Windows SharePoint Services 3.0 Application Templates: All Templates Windows SharePoint Services 3.0 Application Templates: All Server Admin Templates

.NET

PDC 2008: Day 3, the picture is getting clearer

Day three is officially over, I’m pretty tired today after staying up to late yesterday and playing around with the “goods”. I installed Windows 7 and tried it for a while, but to my disappointment I found out that the nice stuff that were shown on the keynote was missing in my release… This morning started with the last keynote of PDC 2008 and it was Microsoft Research that should be in the spotlight. An hour and a half was filled with stuff such as environment and healthcare studies done by MSR, important, but hey – you have an audience of 6.000 programmers/geeks here… The last 20-30 minutes was cool though, they showed up a kids-programming-language called Boku (not only for kids, for me too!) and Second Light an evolution of Surface, where you can project a secondary image onto a surface that is above, yup not in touch with, the surface. Really cool!