Archive for August, 2008

Space filler

Saturday, August 30th, 2008

I’m currently preparing two write ups for this blog, the first is some simple workflow guide. The last time I looked at custom workflow within SharePoint it felt a bit rough around the edges, what with the amount of things I had to install to get VS 2005 to play ball. I’m hoping to discover an improvement.

Thought for the day. What would happen if you took one big corporation’s technology and used it with another big corporation’s technology. Answer: I’ve no idea. But I’m really thinking about..experimenting (you fool you’ll kill us all etc)

This morning WordPress identified an incoming link which led me to one stirling review of my study guide from a certain ‘Bobs’, who has just completed 70-542. Congratulations to him and thanks for the kind words. Although I’m certain that ‘Bobs’ clearly already has the genius level required to be a certified SharePoint developer regardless of a few notes and links, its good to know there are people out there who have used the write up for what it is intended for.

Posted in Uncategorized | No Comments »


Removing EventReceivers from SharePoint 2007

Thursday, August 7th, 2008

I’ve updated my tool

  • Allows you to un-attach event receivers from SharePoint lists WARNING: You do this at your own risk, the tool currently will not allow you to reattach them! Of course….It warns you first!
  • Highlights Microsoft events (handy so you can see non-default events).
  • Outputs to a local log file (if you click the checkbox).

You can get it here

For point of reference the code used to remove EventReceivers in Sharepoint API:

SPEventReceiverDefinition theEvent = list.EventReceivers[item GUID];
theEvent.Delete();
list.Update();

Tags:
Posted in Sharepoint | No Comments »


Inspecting all EventReceivers in SharePoint 2007

Wednesday, August 6th, 2008

The Event Reciever (SPEventReceiver derived, often refered to as Event Handlers) management in out of the box SharePoint 2007 is pretty poor. If your site uses events to drive business logic you probably have no simple way of inspecting the event recievers installed on your site.

There are several fine solutions available on the web that you can install which will add the missing functionality to a SharePoint site, however I haven’t been able to find anything which I can fire up quickly – enter a site URL and see the event properties. Useful if I’m on a client site, or just want to ensure that my own event receivers have installed in the correct places.

This morning I wrote a quick and dirty application to do just that. You can download the 24kb file here, run it on a SharePoint 2007 machine as administrator. I may want to add the ability to remove selected event receivers later.

You can also download the source code project, its a little bit rough and ready but does the job without falling over.

Tags: , ,
Posted in Sharepoint | No Comments »


SharePoint CAN create CHAOS!

Tuesday, August 5th, 2008

A recent “To everyone it may concern” style email landed* in my inbox a couple of weeks ago linking to this article which is actually refering to this forrester report warning organisations which everyone concerned with SharePoint should indeed read.

Essentially the article, reflecting the shocking* revelation from the report, is stating that industry is adopting SharePoint as a development platform (to replace intranet sites, create collaborative portals and so on) at a rate even Microsoft weren’t prepared for and lack of expertise and foresight has resulted in many SharePoint deployments going horribly pear shaped.

I’m going to refrain from throwing in my own opinions at this stage other than to shake my head in agreement and say “Yeeees” in a very “Isn’t that obvious though?” kind of way. I’m fairly certain that, while many people may be over complicating their portal & intranet environments – rushing to uninstall Lotus notes or their legacy intranet systems and install the mighty SharePoint (because it does everything!) causing chaos left right and center because they are “messing with powers they can’t possibly comprehend!”, nobody will in fact be seriously harmed in the madness.

* lie 1: emails do not land or fly and must be fetched

* lie 2: This is not shocking, it is in fact blindingly obvious

Posted in Sharepoint | No Comments »