Sep10

How to: Add a folder to a SharePoint list using C#

Unlike adding folders to document libraries, adding folders to lists requires a bit more work in order for the folder to appear in the list view. For example, the following code will add a folder to the list, but the folder will be hidden and not sh ...[Read More]
Published: Sep-10-09 | 0 Comments | 0 Links to this post

Sep09

GetItems List Query Returns no Items

SharePoint’s SPList class contains the GetItems method which is used to query the contents of a SharePoint list. Rather than iterating through all of the list’s items, the GetItems method allows you to specify a collaborative application markup lang ...[Read More]
Published: Sep-09-09 | 0 Comments | 0 Links to this post

Sep08

SharePoint WebConfigModifications.Add deletes elements from web.config

I was writing a SharePoint feature that had to register a custom HTTP module. Naturally I started looking at the SPWebConfigModification class and soon had some code that looked like it would add my HTTP module to the httpModules element in the Shar ...[Read More]
Published: Sep-08-09 | 0 Comments | 0 Links to this post

Sep03

How to: Choose between an ASP.Net Web Part and a SharePoint Web Part

A colleague of mine recently asked me if the WebPart he was writing should inherit from the ASP.Net WebPart class or the SharePoint WebPart class. He was a bit confused because he had seen a few articles online that talked about the benefits of inhe ...[Read More]
Published: Sep-03-09 | 0 Comments | 0 Links to this post

Sep01

How to: Get started with SharePoint on the cheap

I’ve seen a lot of articles about how it costs a lot of money to stand up a SharePoint server. I will show that this is simply not the case. In fact, you can stand up a production SharePoint server for less than $1100 USD, including both hardware an ...[Read More]
Published: Sep-01-09 | 0 Comments | 0 Links to this post