Author: Jasper Siegmund

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

Creating secured BCS objects with BCS Meta Man

We started using BCS in SP2010 to create External Content Types. This is really a powerfull system, and a huge improvement on the ‘old’ BDC approach. For a project, I needed something more then just a BCS layer to get all the data. Data is being fetched from a 3rd party backend system in which

Read more

The big 2010 launch event is near!

Although I won’t be attending (neither in reallife nor online) due to a wedding, I thought I’d just remind you all of the upcoming show from Microsoft. Next week, the 12th of may, Microsoft will be launching Office 2010, SharePoint 2010, Project 2010 and Visio 2010 out into the open. I’m very excited, cause I’ve

Read more

SP2010: Error activating SharePoint Server Publishing Infrastructure

Today I ran into an error when trying to enable the “SharePoint Server Publishing Infrastructure” feature on an existing SharePoint site. The logs told me: “Feature Activation: Failed to ensure feature dependencies for feature ‘PublishingSite’ (id: ‘f6924d36-2fa8-4f0b-b16d-06b7250180fa’), exception thrown: Microsoft.SharePoint.SPException: Provisioning did not succeed. Details: Failed to create the ‘Site Collection Documents’ library. OriginalException: A

Read more

SP2010: Error when trying to add FBA user to sharepoint group

I ran into an error when I tried to add a FBA user (ASP.NET membership) to a SharePoint group. It told me: “The user or group ‘providername:username’ is unknown. at Microsoft.SharePoint.Utilities.SPUtility.FilterValidLoginName(String loginName, SPSite site)”. Weird, because the exact same piece of code had worked properly in 2007 and even in 2010 beta. The only thing

Read more