Category: Technical

SP2010: A multi tenant BCS scenario

I’ve done some posts about multi-tenancy and BCS lately, but haven’t combined the two. So todays topic (and no, it’s not a joke…) will be BCS in a multi tenant environment. Mainly because you have some choices to make and I want to provide you with some input on which you might be able to

Read more

SP2010: Exporting site subscriptions in multi tenant setup

I created this little script I wanted to share, which loops though a web application; finds all site subscriptions (for multitenancy) and exports both the sites in there and the settings of the subscription. You could use the result to import the sites again into a test environment (for instance). $url = "http://contoso.com" $share =

Read more

SP2010: Creating Secure Store Target Applications in a partitioned service app

For our multitenant (partitioned) environment, I wanted to use the Secure Store Service Application to store credentials for a database. To be specific; I wanted those credentials to be available for BCS to gain access to the database. When you provision your Secure Store Service Application with the -Partitioned flag in Powershell, some things change.

Read more

SP2010: 101 code samples available for download

The SharePoint Team just released 101 code samples for SharePoint 2010. The file contains a lot of common development tasks as prebuild solutions you can use to inspire yourself. For more info, read the entire article here. The samples can be downloaded here.

Read more

SP2010 Online: Timeouts in the sandbox

As I was developing my sandboxed solution, I used my local development environment to compile, deploy and test my solution. All was well and my solution was working the way I wanted it to. So, time to deploy to SharePoint Online. I created a fresh new site, uploaded my solution and activated my feature. Wait

Read more

SP2010: some usefull notes

As promised, here are some of the notes I took at last weeks TechDays in The Netherlands. Some (perhaps even all) might already be known to you, but perhaps these help others to create better SharePoint solutions 🙂 I’m posting them as a little self reminder. In the object model, you frequently work with an SPWeb object.

Read more

SP2010: SharePoint Search not indexing

There are a lot of things which can cause your search index not to work. Check that the credentials for the content access accounts are correct. Also check that this account has enough rights to access and query the content you want it to index. Make sure the URL of the site is in one

Read more

Namespace problems querying with XElement

Today I was working on an old SharePoint 2007 project which heavily uses the SharePoint webservices. That implies using a lot of XML as input and output for those services. At one point I had to extract some info from the XML fragment being returned. The function returned an XElement. This type of object can be

Read more

SP2010: DST issue with alerts

Each time Europe passes the DST dates and goes from summertime to wintertime (as we call it), weird things happen with software. Although you might think they should have this thing down by now, it just keeps on being an issue and causing problems. This year, one of our users reported scheduled alerts not being

Read more

SP2010: Using a Site Definition with a SPWebProvisioningProvider

Today I was working on a SharePoint site which uses a custom Site Definition. Ok, maybe you’ll think “shouldn’t you be using a web template instead? ’cause site definitions suck when you need to update”. You’re right. And therefore we’re only using stapled features to deploy content, and we could as well use a web

Read more