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

Constructing dynamic CAML queries: the easy way

For a project I’m working on, I needed a way to roll-up data across multiple sites. There aren’t much ways of doing that, but one good way is using the SPSiteDataQuery object. This object, which can be used with the object model (not the client ones unfortunately), can be used to fire queries to SharePoint

Read more

DataSheet view in SharePoint 2010 with Office 64-bit

My notebook runs 64-bit Windows 7. That’s cool, because you can develop SharePoint 2010 stuff on it without the need to run a virtual machine (which eats up extra memory slowing the whole thing down again). But I had some troubles with SharePoint 2010 and Office 2010 64-bit. The datasheet view, which you can use

Read more

Converting FBA users to SharePoint 2010

With thanks to commenter Anu, I can hereby present a way to convert old FBA users to SharePoint 2010 compatible users when converting a 2007 installation to 2010. The easy way is a simple Powershell script: $w = Get-SPWebApplication(“url”) $w.MigrateUsers(true) But this script seems to have a hardcoded limit to the number of users it

Read more

Invalid URL error when adding action to ECTS

I tried adding an action to an external content type. I entered the URL as follows: https://helpdesk.companyname.nl/app/ib/inc.asp?Typ={0} Now SharePoint told me: “The Action URL is not valid. Either the URL format is not valid or the number of parameters in the URL is fewer than the number of parameters added to the action.” What did

Read more

SP2010: Creating a mixed mode login page for claims based authentication

In SharePoint 2010, claims based authentication provides us with a way of dealing with multiple sorts of authentication in one site. Where in the older SharePoint versions you needed to create a new site for each authentication method (Windows, Forms), you can now use both at the same time. This means all users are visiting

Read more