Category: Technical

Compiling audiences in SharePoint 2010

Compiling audiences from code has always been a bit troublesome to do. The things you need aren’t that well documented so it takes some Googling to get everything into place. But for some reason, the articles I found didn’t seem to work in my SharePoint 2010 installation. The result of my job was always 4:

Read more

Creating and editing documents online: SkyDrive

A lot of buzz was generated this week as Google announced Google Cloud Connect. A plugin which you can install on you Office equipped computer to save documents to Google Docs. Wow, what a revelation! Or is it? I’ve been using Microsoft SkyDrive for a while now, which originated out of Office Live! SkyDrive is

Read more

SP2010: December cumulative update

I guess some Microsoft employees we’re still busy ending the year 2010. On december 31, the latest cumulative update was released for SharePoint 2010. There are lot’s of bugfixes in it once more, but this time one of mine is included! I posted this quite a while back on the MSDN forums: http://social.msdn.microsoft.com/Forums/en/sharepoint2010customization/thread/d38e74a1-ea49-4197-a70f-0e5b28743553. The bug

Read more

SP2010: Setting BCS column and related fields

I’ve been struggling for a while to programmatically set BCS columns. Setting the column itself isn’t that hard, but it’s getting all the related fields to show data too that’s a challenge. There seems to be no out of the box method to do this, so I’ve created one myself. Without further ado, let’s get

Read more

SP2010: Fixing Javascript / Ribbon errors

I had some users complaining about their Ribbon not working. When looking more closely, SharePoint was generating lot’s of JavaScript errors in IE8. I had no clue why (still don’t have really), but here are two solutions which you can try to fix this problem: In web.config, make sure the following section exists: <system.web.extensions> <scripting>

Read more

Providing InfoPath form views for new / edit / display

I never really looked into InfoPath untill SharePoint 2010 arrived. With 2010, customizing your item forms becomes a lot easier to do in combination with InfoPath. Yes, most of this was also possible with 2007, but the way to get there was a bit more complicated. Here’s some steps you can take if you want

Read more

SSL certificate error when calling webservice in SharePoint

I have a secured SSL site which I wanted to query with SPD (REST webservice). SPD gave me the well known ‘the server returned a non specific error’ message. After some investigation, I found the following error in the ULS logs: An operation failed because the following certificate has validation errors:\n\nSubject Name: CN=*.company.com, OU=PositiveSSL Wildcard,

Read more

Silverlight web part not grayed out behind SharePoint popup

If you create a Silverlight webpart and deploy it to SharePoint; it won’t gray out behind a default SharePoint popup. To fix this, you need to set the windowsless parameter to true (though this might affect performance a bit). To do this, edit the default SilverlightPluginGenerator.cs file and add the following line after line number

Read more

Support auto width in Silverlight web part

For some reason, the default implementation of the Silverlight webpart which comes with VS2010 doesn’t allow you to set the width to 100% (auto width). You’ll get an error saying “UnitType Percentage is not supported”. That’s kind of weird, since the only thing it really does is set the width for the surrounding object container

Read more