Deploying a SharePoint Master Page in a Feature

A few weeks back I was tasked with deploying some content to a site collection including a new master page.  The requirements stated that upon activation of the feature, the new master page would need to be deployed out to the master page gallery of the site collection.  Having never done this before, I set [...]

No Comments

Enable ASP.NET AJAX in Your SharePoint 2007 Farm

SharePoint 2007 does not enable ASP.NET AJAX by default.  Although the process to enable ASP.NET AJAX on a SharePoint 2007 web application is rather straightforward, it can be time consuming and error prone due to the amount of web.config entries that need to be made.  So, a while back a friend and I created a [...]

, , ,

No Comments

Adding Configurable Properties to a SharePoint Web Part’s Tool Pane

In a previous post, we developed a simple web part to add two numbers together and display the result.  It is a great introduction to web parts in the SharePoint world, but it is lacking any end user configuration.  So, let’s go through how to add a bit of configuration to this web part.  We [...]

,

No Comments

How To Create a Basic SharePoint Web Part

A large part of SharePoint’s power comes from the fact that the interface is completely pluggable. Users can add web parts to pages of their choice in order to add functionality and features to a SharePoint site on demand. So, an obvious direction any SharePoint developer would take is to learn how to develop web [...]

,

1 Comment

Executing Code in Assemblies with SharePoint CustomActions

In my previous post, I discussed the basics of using a CustomAction to enhance the functionality of a content type. We used a CustomAction to redirect and pass some parameters to another page. This functionality is great, but what if you don’t want the user to go to another page for your custom logic to [...]

,

2 Comments

CustomAction Basics in SharePoint

CustomActions allow you to provide an easy way for an end user to perform some sort of action on or with a specific list item that is not available in a standard SharePoint installation.
Let’s go through a simple demo of using a CustomAction. In this demo, we will create a CustomAction which will redirect to [...]

,

No Comments

Feature Receiver Basics

As you begin developing more and more complex features to be deployed to SharePoint, you will most likely come across the need to perform some additional actions when your feature is installed and activated as well as extra clean-up when your feature is deactivated and uninstalled.  In come Feature Receivers to do just this.  Feature [...]

,

No Comments

Using Local Config Files with WSPBuilder

Using WSPBuilder is rather straight-forward and for most features the default configuration settings work fine. But what happens when you want to include custom CAS policies or change the default folder names? Fortunately, WSPBuilder has an extremely robust set of configuration switches to handle these cases.
If you look in the folder you installed WSPBuilder into, [...]

,

No Comments

How To Properly Enumerate User Profiles using the SharePoint User Profile Web Service

Recently I had a need to pull all user profiles out of our SharePoint farm in order to push them into a middle-tier database that my team was building.  Since this would be run as a scheduled task on a machine that would not have SharePoint installed on it, I would have to use the [...]

, ,

2 Comments

ASP.NET AJAX Page Methods Performance Analysis

As we have previously seen, ASP.NET AJAX Page Methods are a great way to return the minimum amount of data required in an AJAX request.  But the question remains, just how much bandwidth can you save by using Page Methods rather than UpdatePanels for AJAX operations.
To illustrate this, we are going to create a new [...]

, ,

No Comments