Archive for category SharePoint
Deploying a SharePoint Master Page in a Feature
Posted by Michael Bowersox in SharePoint on May 16, 2010
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 [...]
Enable ASP.NET AJAX in Your SharePoint 2007 Farm
Posted by Michael Bowersox in SharePoint on March 4, 2010
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 [...]
Adding Configurable Properties to a SharePoint Web Part’s Tool Pane
Posted by Michael Bowersox in SharePoint on February 19, 2010
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 [...]
How To Create a Basic SharePoint Web Part
Posted by Michael Bowersox in Development, SharePoint on January 15, 2010
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 [...]
Executing Code in Assemblies with SharePoint CustomActions
Posted by Michael Bowersox in Development, SharePoint on July 23, 2009
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 [...]
CustomAction Basics in SharePoint
Posted by Michael Bowersox in Development, SharePoint on May 25, 2009
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 [...]
Feature Receiver Basics
Posted by Michael Bowersox in Development, SharePoint on May 10, 2009
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 [...]
Using Local Config Files with WSPBuilder
Posted by Michael Bowersox in Development, SharePoint on April 22, 2009
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 [...]
WSPBuilder Folder Structure
Posted by Michael Bowersox in Development, SharePoint on January 28, 2009
WSPBuilder makes the process of building WSP files extremely simple as illustrated in a previous post. WSPBuilder supports many features including deploying files to the 12 hive as well as deploying assemblies to the GAC or the web application’s bin folder. To do this, you must structure your project files in a specific way. Take [...]