Josh Gaffey's Blog

How to index the PublishingRollupImage field and map a metadata property in SharePoint 2007

The title of this post is a bit misleading because it’s actually not possible to index this field....

Author: joshuag Date: 12/14/2009

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...

Author: joshuag Date: 12/14/2009

Using SQL Management Studio as a domain user from a machine that is not on the domain in Windows Server 2008 R2

My main development machine is not domain joined, but I often need to use it to access domain...

Author: joshuag Date: 10/29/2009

Crawling Large Lists in SharePoint 2007

There is a lot of information out there on working with large lists in SharePoint 2007. There is...

Author: joshuag Date: 10/05/2009

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....

Author: joshuag Date: 09/29/2009

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...

Author: joshuag Date: 08/17/2009

Using custom web services in SharePoint

If you are developing custom SharePoint applications there is a good chance that you are going to...

Author: joshuag Date: 08/17/2009

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...

Author: joshuag Date: 04/10/2009

DataFormWebPart Parameters and ParameterBindings

Since my post on Easily Making the DataFormWebPart Reuseable, I’ve had a couple questions on the...

Author: joshuag Date: 04/06/2009

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...

Author: joshuag Date: 04/06/2009

Custom Date Formats in SharePoint XSL

There are quite a few posts out there on this topic, but I’m yet to find one comprehensive post that...

Author: joshuag Date: 03/25/2009

Using Resource Files (.resx) when developing SharePoint solutions

In the global economy that we live in today, we can no longer assume that everyone using our...

Author: joshuag Date: 03/06/2009

Easily Making the Data Form Web Part reusable

There are plenty of examples out there of the many capabilities of the so called "Swiss Army" Web...

Author: joshuag Date: 11/09/2008

Getting the Current User Name or ID in SharePoint using SharePoint Designer (no code)

A colleague sparked my interest in this today by asking me if getting the current user ID was...

Author: joshuag Date: 06/03/2008

FileNotFoundException: The site with the id {GUID} could not be found.

This was an interesting problem that I ran into today that really stumped me for a while. The...

Author: joshuag Date: 05/22/2008

Using XSLT in your SharePoint web part

I've been doing a lot of content management work with SharePoint lately, which means a lot of the...

Author: joshuag Date: 03/14/2008

SharePoint 2007 Personalization Framework

I find that nearly all my customers want some level of personalization and targeting in their...

Author: joshuag Date: 03/14/2008

Creating Lists and updating the default view programatically in SharePoint 2007

Recently a question came across a distribution list that I am a member of about updating the default...

Author: joshuag Date: 03/14/2008

Add SharePoint lookup column declaratively through CAML XML

UPDATE: In the comments I’ve seen some people saying that this doesn’t work for them. One thing that...

Author: joshuag Date: 03/14/2008

Turning off workflow and content approval for Document and Image libraries in Sharepoint 2007

I often get the question of how to turn off content approval for a publishing portal w/workflow....

Author: joshuag Date: 01/03/2008

Sharepoint Edit in Datasheet locks or freezes Internet Explorer

I ran into an interesting issue in Sharepoint 2007 last week that took me a few hours to solve and...

Author: joshuag Date: 12/04/2007