RE-Decoded

A technical look at the Raiser’s Edge API from Blackbaud

A .NET plugin

July 10th, 2007 by David Zeidman

When I first saw Shaun Sullivan’s code to create a .NET plugin in Raiser’s Edge I was a bit concerned. I tried out the code and after a bit of fiddling with it I managed to get it to work. Although I thought and still think that having an extra HTML page with the plugin as a user control was a bit of a hassle.

A much easier solution that I have done several times is to simply create a .NET class library with a form. When you start your plugin the form is shown directly in a new window.


Start off by implementing the IBBPlugin interface in the same way as you would do for a VB6 plugin.

For the document type you can select anything that you want as this is apparently ignored.

The important function for our purposes is the IBBPlugIn_OnLoad
method. In this you should typically make a call to show the .NET form that will show your plugin content.

It is as simple as that. 

When you compile the class library you have to ensure that the library is viewable by COM components so that RE can see it. This is done in the project’s settings.

You have to also remember that you cannot simply install the library (the dll output) using regsvr32 as you would with a COM dll. Instead you have to install it using regasm <dll name> /codebase

This will ensure that the dll is registered for use with Raiser’s Edge.

Visual Studio 2005 does allow for powerful install applications and this can also be done to install your plugin but that is for another post article

Related posts:

  1. How to install a plugin You may be interested in knowing how to install a...
  2. In a .NET plugin “deleting makes Raiser’s Edge go backwards” OK so the title can be interpreted in many different...
  3. The case of the disappearing form One of my most long standing problems that I have...
  4. Additions to the Plugin Directory Since we started the plugin directory new plugins have been...
  5. A Non-production database There has been some discussion on the Blackbaud forums and on...

Posted in Beginner |

2 Responses

  1. RE-Decoded » Blog Archive » Blackbaud Labs RE7 code sample Says:

    [...] For my alternative solution see this previous post (A .NET plugin) [...]

  2. .NET Plugin - Blackbaud User Society - Forum Says:

    [...] Plugin Regarding Shaun Sullivan’s sample code and David Ziedman’s description of an easier solution, I haven’t been able to get either to work. I use VS2005 and RE 7.81. I’ve had no problems with VB6 [...]

Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.