Why does my event receiver run multiple times?

Why does my event receiver / handler run more than once when I update or add a new list item? There are a few common situations where this can occur. The first and most obvious is when you are handling an ItemUpdated event and within the event you  update the item in question again from…

3

How to extract aspx files out of a SharePoint content database.

STSADMExtractFiles is a sample application that extends the STSADM.EXE command line via the ISPStsadmCommand interface and adds three new commands to the tool:  savefile, savefromfolder and restorefile. The purpose of the sample is to show how an application could be built to extract content out of a SharePoint content database to the file system in…

2

Calling a WCF WebService from a SharePoint WebPart using JavaScript

The following examples demonstrates a JavaScript client calling into a WCF Service which allows updates of SharePoint list data. All deployable from a SharePoint solution (WSP). The first thing you’ll need is the .NET Framework 3.5 installed on your SharePoint server (or VS.NET 2008). .NET 3.5 Install http://www.microsoft.com/downloads/details.aspx?FamilyId=333325FD-AE52-4E35-B531-508D977D32A6&displaylang=en .NET 3.5 SP1 Install http://www.microsoft.com/downloads/details.aspx?FamilyId=AB99342F-5D1A-413D-8319-81DA479AB0D7&displaylang=en The second step is to…

7

How to implement IRuntimeFilter2 or how to target/filter web parts.

If you are looking at the various blog entries regarding IRuntimeFilter and are left wondering why it is considered a “deprecated” interface in SharePoint 2007 wonder no more! The functionality of IRuntimeFilter is not gone forever it has just been updated with newer functionality in IRuntimeFilter2. The primary functionality difference between the two interfaces is…

2