Posts Tagged ‘SharePoint’

I just received the Microsoft Community Contributor Award!
Microsoft Community Contributor Award 2011

Today, while watching TV, I received an email from support@microsoftcommunitycontributor.com. It was stating:

Congratulations! We’re pleased to inform you that your contributions to Microsoft online technical communities have been recognized with the Microsoft Community Contributor Award.

The Microsoft Community Contributor Award is reserved for participants who have made notable contributions in Microsoft online community forums such as TechNet, MSDN and Answers. The value of these resources is greatly enhanced by participants like you, who voluntarily contribute your time and energy to improve the online community experience for others.


This is a great honor to me to be awarded with this recognition. After all, it’s a great pleasure to dedicate time and to contribute something meaningful to the community. So thanks, Microsoft for awarding me the MCC award, and thanks also to the unknown promotors who have proposed me for this.

This is a big motivation for going on like until now. So I’m looking forward to many, many more contributions!

Thanks and best regards,


Read Full Post »

Hi all,

as you probably know, Office 365 is about to be released to the public. Today, Steve Ballmer is going to talk in a live webinar and probably will announce that Office 365 is final and ready.




I also joined the beta and found the interface very fast and efficient. Especially the web apps rock and are just as responsive as their corresponding client versions are. Great stuff so far!


However, there is a weird error that I stumbled across: When creating a new document, opening the dropdown for the font, then *not* selecting a font but clicking back in the writing’s area, the Word Web App crashes.



Fig. 1: After creating a document: Everything’s still fine



Fig. 2: After opening the fonts’ dropdown: Still fine



Fig. 3: After clicking back into the writing’s area.


It’s not much of a problem, since you can easily restart the Word Web App and re-open the document using the “Restart” button of the dialog in Fig. 3, but any unsaved text is lost in such a case.


Has anyone else encountered this?

Best regards,


Read Full Post »

SharePoint & Office Conference 2010 in Milan


This is a live blog post from the current talk Jan Tielens is giving. I’ll give  you the quick topics.

There exists a basic SL Web Part, that can display any SL application delivered as .xap (and accessible via a URL, of course).

Most important property of it: You can set a .XAP file’s URL.

How it is done:

  1. Upload a .XAP to a document library(Shared Documents)
  2. Copy the URL of the .XAP
  3. Insert the SL Web Part from “Media and Content” area
  4. Paste the URL into the Web Part
  5. Set the Web Part’s width to variable (not fixed), otherwise it’ll issuean error

How to Deploy

1. Virtual File System

  • Add module item (Add –> New Item)
  • Past the .XAP into the module (Elements.xml will now contain a ref to the .XAP)

2. Physical File System

In the 14\TEMPLATE\LAYOUTS folder

  • 15\TEMPLATE\LAYOUTS\ClientBin (default)
  • Advantage: Becomes available right away!

3. Solutions:

  • Add a mapped folder (e.g. above mentioned LAYOUTS) to the solutions
  • Copy .xap into it

Important: For sandboxed solutions, only deployment to VFS is possible.

Client Object Models

Definition: Simple API to add, Retrieve, Update and Manage SP data

DLLs are location in the 14\TEMPLATE\LAYOUTS\ClientBin folder

How to Build Silverlight Web Parts

Create a new project (SL enabled), and put the following code snippets into a User Control.

Add a reference to the Microsoft.SharePoint.Silverlight*.dll files.

Data Binding is done like this in SL:

   1: <DataTemplate>

   2:     <TextBlock Text="{Binding Title}"></TextBox>

   3: </DataTemplate>

Snippet 1: Basic data binding in SL

   1: using (ClientContext ctx = new ClientContext("http://urlToSharePoint"))

   2: {

   3:     items = ctx.Web.Lists.GetByTitle("Videos");

   4:     ctx.Load(items);

   5:     ctx.ExecuteQueryAsync(Success, Fail);

   6: }

Snippet 2: Using the Client Object Model API. Success and Fail are callback methods you have to define. items is a ListItemCollection you’ll have to define in the user control as  a member variable.

As we saw yesterday at an in-depth look of the Client Object, you can also retrieve

Next, marshall the thread from the UI back (in Success/Fail)

   1: this.Dispatcher.BeginInvoke(() =>

   2: {

   3:     //Here we can work with the list items

   4:     foreach(ListItem item in items)

   5:     {

   6:         //Do sth, e.g. add new items

   7:     }

   8: }

Snippet 3: dispatcher invocation

Jan goes one step further and displays the playing of videos by putting a <MediaElement> into the XAML.

Customizable SL Web Parts

The advantage over the Out-of-the-Box web part is that you can add customization value to it:

E.g. adding own properties

BTW: Parameters are passed to SL web parts using the initParams

   1: <param name=’initParamsvalue=’docLib{0}’/>

Snippet 4: Replace {0} with you custom property name, or make it a String.Format!

These can be accessed in Application_Startup method of theSL App like this:

   1: e.initParams("docLib")

Snippet 5: Accessing the initParams
You can also run your SL app outside the browser. You can do this by going to your project’s SL tab and setting the “Run out of the browser” checkbox. This enables your webpart to be downloadable to the client and be executable as a client app!
Keep going, Jan!



Read Full Post »