Silverlight coverflow of Sharepoint contacts : part II

Posted by on Comments (1)

Here is the second part for my Silverlight Sharepoint contacts coverflow!

In the first part, I created the Silverlight coverflow without any link to Sharepoint.

In this second part, I'll customize my Sharepoint to allow this link.


Here is my updated TOC :

In my previous post :

  1. Implement the Silverlight coverflow

In this post post :

  1. Customize a sharepoint contacts library

In a next post :

3.    Implement the Sharepoint contacts extraction

4.    Deploy the XAP in Sharepoint

5.    Add the Silverlight application to a Sharepoint page


Customize a sharepoint contacts library


To customize a contacts library, I need, of course, a contact list and a pictures library for the pictures of contacts.

Here is my contact library :

And here is my pictures library :

Now, I must create a column in my contacts list to add a picture to each contact item :

For each contact, I can then add a picture link to the picture library :

And finally, here is the result :

That's all for this time! I guess those steps were easily made if you've already played with Sharepoint!

See you later!

Posted in: MOSS 2007 | Silverlight 3.0   Tags:

MOSS 2007 Enterprise on Windows 7 RTM with Bamboo Nation's SharePointOnVista

Posted by on Comments (1)

Yesterday, I spent my evening installing MOSS 2007 Enterprise on my Windows 7 RTM laptop.

This is quite easy with the Bamboo Nation's SharepointOnVista.

You just have to follow the guide for Windows Vista :

Pay attention that there is a prerequisite that wasn't needed on Windows Vista before starting the installation :

MOSS 2007 is running very well on my laptop (Fujutsu Siemens Lifebook E with a 2.20 Ghz Core 2 T7500 and 4GB Ram – Windows 7 Ultimate X86/3,25 GB of usable RAM – MOSS 2007 Enterprise X86), really better than on Vista Ultimate!

Of course, I just made a basic MOSS setup. Let's see how it will run in a few days/weeks…


Posted in: MOSS 2007 | Windows 7   Tags:

Silverlight Webpart in Sharepoint 2010

Posted by on Comments (0)

Yes, there will be a Silverlight Webpart in Sharepoint 2010.

This is announced there :

By the way, a lot of other Sharepoint 2010 stuffs are previewed there. The root site is :

I don't see any big revolution in this small preview (*the day after* the biggest revolution is in the Sharepoint Object Model available in Silverlight... See a later post!) on the sneak peek site but wait and see…

See you later!

Silverlight coverflow of Sharepoint contacts : part I

Posted by on Comments (1)

Here is a guide to implement a Silverlight 3.0 coverflow based on a Sharepoint contact list (WSS 3.0 or MOSS 2007).

The steps I'll follow are:

In this post :

  1. Implement the Silverlight coverflow

In a next post :

  1. Customize a sharepoint contacts library
  2. Implement the Sharepoint contacts extraction
  3. Deploy the XAP in Sharepoint
  4. Add the Silverlight application to a Sharepoint page


  1. Implement the Silverlight coverflow


Keep it simple; there is a very cool Ms-PL licensed Silverlight coverflow on Codeplex :

Using this coverflow (contained in a StackPanel), we can customize its DataTemplate to customize the rendering of the data inside the coverflow.

What I want here is for each coverflow item to show a contact picture and name.


In Blend 3.0, I can use the context menu of my coverflow control in the artboard and ask to edit additional templates and then the ItemTemplate :

I'll work with a Border containing a StackPanel. This StackPanel will itself contain an Image and a Texblock.

Here is how it will look like in Blend after the data binding setup (see further):

I'll also create a small StackPanel under the coverflow StackPanel to show the user mail in a TextBlock.




In my project, I use the MVVM (Model-View-ViewModel) pattern for the separation of concerns :

The model for this coverflow will consist of a contact list and a selected contact.

Here is the simple implementation of a contact :

The next step is the creation of the ViewModel . The ViewModel implements the INotifyPropertyChanged for the properties value changes notifications.

By implementing this interface, I must add the PropertyChanged event to my class.

The ViewModel will expose an ObservableCollection of contacts and a single contact representing the selected contact. The ObservableCollection has a built-in notification feature. On the other side, I must notify the client when the selectedContact changes.

The RaisePropertyChanged method body to raise the PropertyChanged event is implemented like this :

Finally, I create a test sample in the constructor of my ViewModel




Once all of that is done, we can come back to the view and setup the databinding. The nice thing with Silverlight 3.0/Blend 3.0 is that we can do almost everything in Blend.

The first thing to allow this ease is to reference the ViewModel in the resources (here inside my usercontrol XAML file) :

After this setup, I can reference the DataContext of my LayoutRoot to this Resource inside Blend.

Then, I'll reference the ItemSource of the coverflow to the contacts ObservableCollection of the ViewModel, once again in Blend.

And finally work like this again for the databinding of my controls. As an example, here is the Blend setup for the Image Data Binding of my coverflow ItemTemplate :

A few more things are necessary for this first iteration to work. I won't detail them here.

Download the code for the finished version of this sample:

Next time, we'll train on the Sharepoint side of it.

See you later,



Posted in: Blend 3.0 | Silverlight 3.0   Tags: