Updating an item using ItemUpdating, ItemUpdated or any event receiver in SharePoint 2007

When using the Event Receivers in SharePoint a common scenario is to update a property on the item the event was fired on.  I’ve heard of people running into this issue a few times and it’s not all that obvious what the proper way is to do this.  A general software development principle is to…

0

Crawling Large Lists in SharePoint 2007

There is a lot of information out there on working with large lists in SharePoint 2007.  There is some good info here and here and Steve Peschka has a great whitepaper on working with large lists in SharePoint 2007 that has been out for a while now.  One thing that I haven’t seen a lot…

3

SPWeb.GetFile Hangs when retrieving a publishing page

I’ve been working on a utility for the past few days to manipulate some data on a SharePoint server.  This code got the “works on my machine” stamp of approval, but every time we ran it against a backup of production data it would hang after processing a certain number of pages with no errors…

0

I’ve got my SharePoint development environment setup, now what?

There are a bunch of posts out there on how to get your SharePoint development environment up and running.  A quick search on “Setting up your SharePoint development environment” will yield plenty of results to skim through to fit your needs.  However, not many of these articles focus on tips and tricks to make day…

2

Using custom web services in SharePoint

If you are developing custom SharePoint applications there is a good chance that you are going to need some custom web services at some point, especially if you are making use of AJAX and JSON.  There is a great walkthrough over on MSDN on how to do this, but if you just need a web…

4

Why cheap developers will cost you

I’m going to take a break from the normal techno-speak ASP.NET and SharePoint for a minute because I was recently reading something that really struck a chord with me as I’ve been experiencing a lot of it lately.  I was reading this article on The Daily WTF today, mainly because I had just submitted an…

13

DataFormWebPart Parameters and ParameterBindings

Since my post on Easily Making the DataFormWebPart Reuseable, I’ve had a couple questions on the parameters and how to make use of them.  I’m going to attempt to document some of the more useful parameters, but hopefully provide a framework for you to be able to figure out how to do anything you may…

8

Changing the SharePoint Welcome Page through code

Sometimes you will have a feature that you activate on a sub site where you want to change the “Welcome Page” or landing page to be a custom one that you provision through your feature.  I was doing this the other day and realized that it isn’t blatantly obvious through Intellisense because it is called…

6