Welcome to MSDN Blogs Sign in | Join | Help

Event Handlers - Part 3: Register Event Handlers plus free Site Settings – Manage Event Handlers Add-on solution

This post is the third post of a 3 post series.

 

Post 1: Everything you need to know about MOSS Event Handlers

Post 2: Developer Solution Starter Kit (Building and deploying event handlers to MOSS)

Post 3: Registering Event Handlers plus Site Settings - Manage Event Handlers

In the first post, I discussed the benefits of using Event Handlers in Microsoft Office SharePoint Portal Server 2007 (MOSS).

In the second post, I discussed how to develop and deploy Event Handler solutions for Microsoft Office SharePoint Portal Server 2007 (MOSS).

In this post I will discuss the various mechanisms to attach (register) your event handler assembly to a site, list, or content type. The "Site Settings – Manage Event Handlers Add-on" solution is hosted on CodePlex. Here is the link:

Codeplex Project : http://www.codeplex.com/SPSCustomAdmin/  

(If any of you are interested in getting involved, I am interested in building more Site Settings addons. Please email me at brwil at microsoft dot com if you would like to get involved in expanding this framework. I will discuss the ideas i have in more detail in a future blog post.)

Overview

So you have deployed the assembly to the farm, now what? How do I register an event in your assembly for a Site, List, or Content Type?

 

I will describe three ways to deploy your assembly’s events.

 

1) Manage EventReceivers via Code

2) Deploy event handlers using the Feature framework of MOSS 2007

3) A cool custom Site Settings Application I built to manage (view, add, edit and delete) event handlers.

 

Managing EventReceivers via Code

The site (SPWeb) object, the list (SPList) object and the Content Type (SPContentType) object expose a collection called EventReceivers based on the SPEventReceiverDefinitionCollection class.

 

This collection maintains a set of SPEventReceiverDefinition objects (events) attached to a site, list or content type.

 

Adding Event Handlers (SPEventReceiverDefinition)

This class provides an “Add” method to attach a new SPEventReceiverDefinition (We created and deployed these to MOSS in Post 1 and 2.) The Add method asks for three bits of information:

 

·         SPEventReceiverType: This tells SharePoint the type of event receiver we are adding to the EventReceiver collection.

 

·         Assembly name: The name of the assembly. E.g. “Litwarehandlers, Version 1.0.0.0, Culture=neutral, PublicKeyToken=a6ab42c509981682”

 

·         Class name: The name of the class. E.g. “Litwarehandlers.SiteHandlerClass”

 

(An easy way to get this information is to use our trusty old friend, Lutz Roeder’s Reflector application. Simply reflect the class and copy and paste the information you need.)

 

Once attached, the site, list or content type will now start picking up these events and executing your assemblies code.

 

Modifying Sequence Numbers

Another important property you may want to set for each event you attach is the Sequence Number. The sequence number determines the order your event assemblies’ fire. This is especially important when you have created multiple assemblies that are all attached to the same Site, List or Content Type event.  

 

To modify the Sequence Number, you need to retrieve the SPEventReceiverDefinition object from the EventReceivers collection.

 

·         Site: site.EventReceivers

·         List: list.EventReceivers

·         Content Type: site.ContentTypes[content type name].EventReceivers

 

A suggested best practice (and only my opinion), do not use sequence numbers below 10000 as SharePoint uses event handlers extensively to run SharePoint Workflows, etc. These event handlers use Sequence Numbers, starting at 1000.

 

Deleting Event Handlers (SPEventReceiverDefinitions)

 

When removing definitions, here is what you have to do:

 

Site:

·         Attach to the site (SPWeb)

·         Lookup the SPEventReceiverDefinition object in the site.EventReceivers collection.

·         Use the delete method of the SPEventReceiverDefinition object to remove it from the collection.

·         Call the site.Update() method.

 

List:

·         Attach to the site (SPWeb)

·         Retrieve the list : (site.Lists[GUID or listname])

·         Lookup the SPEventReceiverDefinition object in the list.EventReceivers collection.

·         Use the delete method of the SPEventReceiverDefinition object to remove it from the collection.

·         Call the list.Update() method.

 

Content Types:

·         Attach to the site (SPWeb)

·         Retrieve the SPContentType (site.ContentTypes[SPContentTypeId])

·         Retrieve the SPEventReceiverDefinition object : (SPContentType.EventReceivers[GUID])

·         Use the delete method of the SPEventReceiverDefinition object to remove it from the collection.

·         Call the SPContentType.Update() method.

 

 

Managing assemblies using Features

 

It is possible to create a feature that deploys your event handler to the assembly.

 

MSDN has an example on how to achieve this: http://msdn2.microsoft.com/en-us/library/ms453149.aspx

 

See screenshot of the xml you need to write to deploy an event via the features framework:

Features xml

 

Limitations:

·         It is difficult to see what event handlers are installed and the sequence they are firing for a site, list or content type. To modify, requires rebuilding the feature with the correct settings.

·         Using a feature, “hardcodes” the event handler to an individual list or Content Type. Each time you want to use the SAME event handler, you are forced to write another feature to register it.

 

In my opinion, wrapping functionality as a feature is cool, but is overkill for registering event handlers.  This is my reason for building a view, add, edit and remove application via Site Settings. See below! J

 

Managing EventReceivers using Site Settings application assemblies

 

Features

The Manage Event Handler site settings application provides you with the ability to view all events that have been associated to a site, any list of that site, and all Content Types for that site.

 

You can add event handlers, edit the sequence numbers and delete events registrations. Once the feature is activated, it is accessible from the Site Settings of any site

 

Feature – Event Handler Screenshot

 Site Feature Activated

 

Site Settings Event Handlers Screenshot

Site Settings > Manage Event Handlers 

 

View Event Hhandlers Screenshot:

 View Event Handlers

 

Add Event handlers Screenshot:

 Add Event Handler

 

Edit Event handlers Screenshot:

Edit Sequence Number 

 

 

Delete Event handlers Screenshot

 Delete Event Handler

 

Firstly, download the solution deployment code and wsp file from CodePlex here, and install in your SharePoint environment. (If you pick up any issues or have feature requests, please let me know so that I can add these to future releases.)

 

How to install

1.   Follow the steps in my previous post in the "Deploying your assembly to staging and production" section. It provides step by step instructions on how to install a wsp file.

2. Navigate to any site and open Site Settings.

3.   Open “Site Features” under the Site Administration column.

4.   Activate the new feature called “Manage Event Handlers”. This enables event handler management application for this site.

5.   Navigate back to Site Settings. A new option is now available under the “Site Administration column” called “Manage Event Handlers”. Select this option.

 

 

Notes

I have removed the ability to edit or delete native SharePoint generated event associations as this may affect the stability of SharePoint Out-Of-The-Box functionality. Only YOUR events can be managed.

 

Content Types (and their associated event handlers) can only be managed via the root site of the site collection.

 

In case you are wondering how to go about building your own site settings applications I have posted the code on CodePlex. I am planning on building an additional site settings administration application to manage and configure site properties.

 

 

Summary

If you have any questions, add a comment and time permitting, I will try to respond as soon as possible.  

Published Sunday, March 18, 2007 7:31 PM by Brian Wilson

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# re: Event Handlers - Part 3: Register Event Handlers plus free Site Settings – Manage Event Handlers Add-on solution

Wednesday, April 11, 2007 6:57 AM by JohnG

Excellent stuff.....real time saver

# MOSS Sample : une bon exemple d'Event Handler (gestion des permissions)

Thursday, April 12, 2007 9:12 AM by The Mit's Blog

(Si vous êtes novice sur les event handler, regarder à la fin du post ) En parcourant les forums SharePoint,

# re: Event Handlers - Part 3: Register Event Handlers plus free Site Settings – Manage Event Handlers Add-on solution

Saturday, April 21, 2007 1:44 PM by AlexN

Hi All,

This article is real help.

I have encountered the problem after I've created WSS 3.0 event handler and registered  it (as a feature) with custom content type. The content type has a boolean column the value of which is used in my event handler code.

I am able to find the content type and its column at run time (properties.ListItem.ContentType.Fields.GetField(siteColumnType)). But I don't seem to be able to squeeze the value out of this SPField (it is SPFieldBoolean actually).

All available methods GetFieldValue() , HetFieldValueAsText() and ...AsHtml() takes either object or string as argument. And none of them seem to work (at least for me).  I wonder if there a straightforward way to get the value out of SPField without creating a custom filed and overriding its GetValue methods?

Thanks a lot in advance ,

Alex

# WSS FAQ additions and corrections LI - 16th - 22nd April 2007

Sunday, April 22, 2007 1:27 AM by Mike Walsh's WSS and more

# WSS FAQ additions and corrections LI - 16th - 22nd April 2007

Sunday, April 22, 2007 1:27 AM by Mike Walsh's WSS and more

# re: Event Handlers - Part 3: Register Event Handlers plus free Site Settings – Manage Event Handlers Add-on solution

Monday, May 14, 2007 7:59 AM by Pedro

I'm try to activate the feature and I'm having this error Insufficient SQL database permissions for user '' in database 'SharePoint_Farm_2007_Config' on SQL Server instance '192.168.1.XXX'. Additional error information from SQL Server is included below.

The EXECUTE permission was denied on the object 'proc_putObject', database 'SharePoint_Farm_2007_Config', schema 'dbo'.

I have used sql profiler to see what user is trying to execute this procedure and the user is this DOMAIN\SHAREPOINTMACHINENAME$ do i need to give permission to these user? why? shouldn't be a user configured in sharepoint like administrator?

# re: Event Handlers - Part 3: Register Event Handlers plus free Site Settings – Manage Event Handlers Add-on solution

Monday, May 14, 2007 4:18 PM by Mathieu

Is it possible to make a single feature that will handle all Event types instead of just one (ie: <Type>ItemDeleting</Type>)?

I'd like to use the same handler for all event types.

# re: Event Handlers - Part 3: Register Event Handlers plus free Site Settings – Manage Event Handlers Add-on solution

Wednesday, May 16, 2007 5:00 PM by Sahil

Hi Brian ,

I downloaded the code but it is not compiling...

If you could give few steps to compile and deploy this ..

That would be real great..

Thanks for the nice article.

Regards,

Sahil

# re: Event Handlers - Part 3: Register Event Handlers plus free Site Settings – Manage Event Handlers Add-on solution

Friday, May 25, 2007 3:32 AM by Xmahle

`Content Types (and their associated event handlers) can only be managed via the root site of the site collection. `

Problems,

- Content type events doesnt get fired ever.

- I cannot manage Content type events even in the root site.

- DataFormWebPart doesnt fire any events attached to list / listitem / content type / anywhere.

Any suggestions?

mail-> xmahle ( a t ) luukku.com

# re: Event Handlers - Part 3: Register Event Handlers plus free Site Settings – Manage Event Handlers Add-on solution

Thursday, June 07, 2007 9:07 AM by Seth

I am also not getting my events to fire. I added code to throw an exception in FieldUpdated, FieldAdded, etc. wired up the EventHandler with this tool, and nothing...

I even deleted the assembly from the GAC and nothing breaks when I add/update/delete fields.

Any thoughts?

Seems like there might be something we're missing.

# re: Event Handlers - Part 3: Register Event Handlers plus free Site Settings – Manage Event Handlers Add-on solution

Friday, June 22, 2007 4:50 AM by Randy

Hi Brian, thanks for the nice article.

I need my form to be dynamic, when we check a radio button, other fields show up.

Just like when we add a new item in calendar, and we check the recurrence field, new options appear.

Could you please help me? Do I need to deploy the event handler on the company's Sharepoint 2007 server?

Thanks

e-mail -> randy@mail2computer.com

# re: Event Handlers - Part 3: Register Event Handlers plus free Site Settings – Manage Event Handlers Add-on solution

Thursday, June 28, 2007 5:59 AM by Misha

Hi,

It was very helpful article.

I am facing a small problem.

I want to capture the following event - While creating a survey, I want to capture the finish event of a survey.

Thanks in advance

# re: Event Handlers - Part 3: Register Event Handlers plus free Site Settings – Manage Event Handlers Add-on solution

Wednesday, July 04, 2007 11:52 AM by Zee

when using your templates and add on, whenever I try to add an item in ItemAdded override method , the even handler creates 10 items instead of one. can you please explain what am I doing wrong?

# Getting started with Event Handlers in Sharepoint 2007

Wednesday, July 04, 2007 7:06 PM by Zlatan's Blog

Maybe you were tasked to provide certain functionality for your SharePoint 2007 instance? Maybe windows

# Getting started with Event Handlers in Sharepoint 2007

Wednesday, July 04, 2007 7:06 PM by Owner Blog

Maybe you were tasked to provide certain functionality for your SharePoint 2007 instance? Maybe windows

# re: Event Handlers - Part 3: Register Event Handlers plus free Site Settings – Manage Event Handlers Add-on solution

Wednesday, July 25, 2007 8:31 AM by Ioannis

Nice!

# re: Event Handlers - Part 3: Register Event Handlers plus free Site Settings – Manage Event Handlers Add-on solution

Wednesday, July 25, 2007 6:17 PM by Andros

Cool.

# SharePoint Kaffeetasse 16

Thursday, July 26, 2007 2:57 PM by SharePoint, SharePoint and stuff

Anpassung How to create your own custom wiki site definition Create a KPI List in WSS 2.0/3.0 Customizing

# re: Event Handlers - Part 3: Register Event Handlers plus free Site Settings – Manage Event Handlers Add-on solution

Thursday, July 26, 2007 8:33 PM by Nikolaos

Sorry :(

# re: Event Handlers - Part 3: Register Event Handlers plus free Site Settings – Manage Event Handlers Add-on solution

Friday, July 27, 2007 3:01 AM by Dimitrios

Nice!

# SPPD075 SharePointPodcast

Friday, July 27, 2007 3:06 PM by SharePointPodcast.de

Direkter Download: SPPD-075-2007-07-27 Diesmal nur mit kurzen Shownotes Buchtipps Microsoft Office SharePoint

# SPPD075 SharePointPodcast

Friday, July 27, 2007 3:06 PM by SharePoint, SharePoint and stuff

Direkter Download: SPPD-075-2007-07-27 Diesmal nur mit kurzen Shownotes Buchtipps Microsoft Office SharePoint

# re: Event Handlers - Part 3: Register Event Handlers plus free Site Settings – Manage Event Handlers Add-on solution

Friday, July 27, 2007 5:52 PM by Halu

interesting

# re: Event Handlers - Part 3: Register Event Handlers plus free Site Settings – Manage Event Handlers Add-on solution

Friday, July 27, 2007 9:21 PM by Efthimios

Nice

# re: Event Handlers - Part 3: Register Event Handlers plus free Site Settings – Manage Event Handlers Add-on solution

Friday, July 27, 2007 10:50 PM by Theophanis

Cool.

# re: Event Handlers - Part 3: Register Event Handlers plus free Site Settings – Manage Event Handlers Add-on solution

Saturday, July 28, 2007 5:38 PM by Manolis

Cool!

# re: Event Handlers - Part 3: Register Event Handlers plus free Site Settings – Manage Event Handlers Add-on solution

Monday, August 06, 2007 10:00 AM by yash

When I try to Activate the feature under Site Settings, it says "Unknown Error".

How do I debug this?

# re: Event Handlers - Part 3: Register Event Handlers plus free Site Settings – Manage Event Handlers Add-on solution

Monday, August 13, 2007 7:09 PM by Craig

First off thanks so much for the excellent tutorial it's been a great help thus far. I'm currently attempting to build an event handler that takes a document after its uploaded to a document repository and sent off to some other processes. I've tried ItemAdded, but it does not seem to accomplish what I'd hope for any direction you could give on what the event I'm trying to capture would be great!

# SharePoint Kaffeetasse 16

Tuesday, August 14, 2007 6:40 AM by SharePoint, SharePoint and stuff

Anpassung How to create your own custom wiki site definition Create a KPI List in WSS 2.0/3.0 Customizing

# Sharepoint Listen und EventHandler-Registrierung

Thursday, August 16, 2007 4:49 AM by Meine Sharepoint-Notizen

Eventhandler sind ein sehr praktisches Feature in WSS bzw. Sharepoint, um die Möglichkeiten von Listen

# re: Event Handlers - Part 3: Register Event Handlers plus free Site Settings – Manage Event Handlers Add-on solution

Thursday, September 13, 2007 2:00 AM by amit

Excellent Post.

I am facing one problem.I have made one feature and onWebDeleting event i deleted the entry from a list.Now my requirement is i want to delete from other list,so i have written my code on same event,but my new code is not firing.I tried making another featurea and activated both features on same site,but its onWebDeleting function is not firing.Do i need to set same sequenceNumber for both features,as i am trying to fire the same event.

# re: Event Handlers - Part 3: Register Event Handlers plus free Site Settings – Manage Event Handlers Add-on solution

Thursday, September 13, 2007 5:01 AM by Amit

Excellent post.

But i am facing one problem.I have made 1 feature and created OnWebDeleting event.Whenever the site is deleted its entry is deleted from site at portal level.this functionality is working fine.Now i want some other entry from some other list to be deleted as well,when a site is deleted.But this does not seems to be firing at all.

Any pointers.

# re: Event Handlers - Part 3: Register Event Handlers plus free Site Settings – Manage Event Handlers Add-on solution

Friday, September 21, 2007 5:46 AM by Ski

Fantastic add-on

Keep up the good work!

# re: Event Handlers - Part 3: Register Event Handlers plus free Site Settings – Manage Event Handlers Add-on solution

Monday, October 22, 2007 4:06 PM by elegault

I'm getting the same error as Pedro above when I try to activate the feature:

The EXECUTE permission was denied on the object 'proc_putObject', database 'SharePoint_Farm_2007_Config', schema 'dbo'.

How can I get this working?

# re: Event Handlers - Part 3: Register Event Handlers plus free Site Settings – Manage Event Handlers Add-on solution

Monday, November 05, 2007 2:47 PM by Pablo

Nice

Now, all lists with the templateid will be influenced. Is it possible to use a specific list on the site instead of listtemplates?

# Event Handlers

Sunday, November 11, 2007 2:16 PM by Cvalik's blog

Brian Wilson napisal celkom pekny 3 dielny serial. Post 1: Everything you need to know about...

# re: Event Handlers - Part 3: Register Event Handlers plus free Site Settings – Manage Event Handlers Add-on solution

Thursday, November 15, 2007 3:16 PM by Brian M.

Brian,

If I want my event handler to handle changes to the "Sites" list, what scope should be selected and what should be selected in the dropdown?

Thanks

# re: Event Handlers - Part 3: Register Event Handlers plus free Site Settings – Manage Event Handlers Add-on solution

Friday, November 30, 2007 10:06 AM by Oleksandr

I have added my handler as:

"Item SPEmptyEventHandler.BCRItemEventReceiver ItemAdding 10000"

and "Edit" and "Remove" links are disabled on "Manage Event Handlers" page. How can I remove this handler? I tried EventHandlerExplorer to do this, but no result.

# re: Event Handlers - Part 3: Register Event Handlers plus free Site Settings – Manage Event Handlers Add-on solution

Monday, December 03, 2007 4:45 AM by Guido

I get the same error too:

Insufficient SQL database permissions for user '' in database 'SharePoint_Config' on SQL Server instance 'tstsvspsql'. Additional error information from SQL Server is included below.

EXECUTE permission denied on object 'proc_putObject', database 'SharePoint_Config', schema 'dbo'.

Can you help us?

# re: Event Handlers - Part 3: Register Event Handlers plus free Site Settings – Manage Event Handlers Add-on solution

Monday, December 03, 2007 4:50 AM by Guido

Oh I have forgotten to say that my SQL Server is on a different server, maybe that helps to resolve the problem.

# re: Event Handlers - Part 3: Register Event Handlers plus free Site Settings – Manage Event Handlers Add-on solution

Friday, December 07, 2007 1:15 PM by Ben Steinwand

It seems this solution will not install for a site-collection, only at the root http:/MyWebApp, but not at http://MyWebApp/sites/MySiteCollection

When I try to Addsolution to a site collection I get an error: "This solution contains no resources scoped for a web application and cannot be deployed to a particular web application."

# re: Event Handlers - Part 3: Register Event Handlers plus free Site Settings – Manage Event Handlers Add-on solution

Friday, December 14, 2007 9:05 AM by Tim Wheeler

This Article, code samples, toolkit rock!

# re: Event Handlers - Part 3: Register Event Handlers plus free Site Settings – Manage Event Handlers Add-on solution

Wednesday, January 02, 2008 9:05 AM by Labhesh Shrimali

1. Your Artical is good.

2. I want to register the event on the document Library. but the functionalty is such that I will be creating site every week and the same document library will be used. that mean there is dynamic site creation and dynamic library creation. then how i can register the MOSS event dynamically??????

In short:  How to add MOSS Events  dynamically when my site is getting creating everytime.

clue: i am also using site template (Is it possiable to add moss event to site template, so that every time when i create site using these template i get moss event attached.) Or is there any other way out.

Thanks

Labhesh Shrimali

maiil: labheshs@gmail.com

# SPPD075 SharePointPodcast

Wednesday, January 09, 2008 8:04 PM by Mirrored Blogs

Direkter Download: SPPD-075-2007-07-27 Diesmal nur mit kurzen Shownotes Buchtipps Microsoft Office SharePoint

# re: Event Handlers - Part 3: Register Event Handlers plus free Site Settings – Manage Event Handlers Add-on solution

Saturday, January 12, 2008 5:55 PM by Emir

Hi,

I can not remove my event handler. Link Edit|Remove is not clickable.

# re: Event Handlers - Part 3: Register Event Handlers plus free Site Settings – Manage Event Handlers Add-on solution

Wednesday, February 06, 2008 3:39 PM by Claudia

Very good article. Thanks :)

# re: Event Handlers - Part 3: Register Event Handlers plus free Site Settings – Manage Event Handlers Add-on solution

Thursday, February 14, 2008 8:24 AM by Alexander

Hi, Brian! Thank You for your article! This was much useful for my work. Wish You Good luck!

# re: Event Handlers - Part 3: Register Event Handlers plus free Site Settings – Manage Event Handlers Add-on solution

Tuesday, February 19, 2008 1:46 PM by Somsong Phungtham

I'm having an issue submitting an InfoPath form directly to Sharepoint.  I have 2 custom event handlers, an item added event and an item updated event.  Sometimes my item updated event fires multiple times on the same submit.  Has anyone come across this issue too?

Thanks,

-Somsong Phungtham

# All you need to know about Event Handlers In SharePoint 2007

Tuesday, March 11, 2008 6:07 AM by SharePoint & .NET

Below is a list of events that you can hook into: · Microsoft.SharePoint.SPWebEventReceiver : "Site Level"

# re: Event Handlers - Part 3: Register Event Handlers plus free Site Settings – Manage Event Handlers Add-on solution

Wednesday, March 19, 2008 2:16 AM by Leo

I don't seems to be able to find the code to download the SPSCUSTOMADMIN from the codeplex lis. How do I download?

# Resources and tools for WSS 3 and MOSS 2007

Tuesday, April 08, 2008 4:21 AM by Agusto Xaverius P.S

SDKs and development tools SharePoint Server 2007 SDK: Software Development Kit Revised and updated August

# re: Event Handlers - Part 3: Register Event Handlers plus free Site Settings – Manage Event Handlers Add-on solution

Thursday, April 17, 2008 5:08 AM by keba

The EXECUTE permission was denied on the object 'proc_putObject', database 'SharePoint_Farm_2007_Config', schema 'dbo'.

- activate feature via stsadm worked for me.

# re: Event Handlers - Part 3: Register Event Handlers plus free Site Settings – Manage Event Handlers Add-on solution

Thursday, June 19, 2008 1:48 PM by Miguel Isidoro

Hi,

I just installed the solution but found a problem. When adding a event handler and when I choose the content type option, the dropdownlist is not populated. Also, I manually associated an event handler programatically to a content type and the manage event handlers page says that the event handler is associated to a list (that has the same content type).

# re: Event Handlers - Part 3: Register Event Handlers plus free Site Settings – Manage Event Handlers Add-on solution

Wednesday, July 16, 2008 1:10 PM by jrezuke

Is there a need to unregister events for a site (SPWeb) before deleting it?  

# re: Event Handlers - Part 3: Register Event Handlers plus free Site Settings – Manage Event Handlers Add-on solution

Monday, September 29, 2008 10:05 AM by julien1981

Hello,

This tool is fantastic. Unfortunately, I can not remove my event handler. The link Edit|Remove is not visible but not clickable.

# re: Event Handlers - Part 3: Register Event Handlers plus free Site Settings – Manage Event Handlers Add-on solution

Thursday, November 06, 2008 1:23 AM by baltmann

Error on Activation on 64-bit Windows Server 2003.

Go back to site  

Error  

Unknown Error

Troubleshoot issues with Windows SharePoint Services.

# re: Event Handlers - Part 3: Register Event Handlers plus free Site Settings – Manage Event Handlers Add-on solution

Monday, November 10, 2008 12:01 AM by Bill Altmann

On 64-bit Sharepoint the solution adds and deploys but activate fails with "Unknown Error".

# re: Event Handlers - Part 3: Register Event Handlers plus free Site Settings – Manage Event Handlers Add-on solution

Tuesday, November 25, 2008 7:11 AM by rajeev

I have created event handler for announcement with ItemAdded method. in manifest.xml file , i wrote listtempalteid = 104. on activation of this eventhandler, it is going to activate for full annuncement template of particular site. how to make this to activate for a particular list, not for all lists in site

# re: Event Handlers - Part 3: Register Event Handlers plus free Site Settings – Manage Event Handlers Add-on solution

Wednesday, November 26, 2008 3:33 AM by rajeev

how to make event handler to be applied for a list , not a list template( by using listtemplateid in manifest.xml file).In my case, i created event handler that one is going to fire on creation of a announcement . but it is going to fire for all announcement in a web, not for a particular announcement. can any one have idea how to handle it

# re: Event Handlers - Part 3: Register Event Handlers plus free Site Settings – Manage Event Handlers Add-on solution

Tuesday, December 16, 2008 4:41 AM by mayngeatani

[url=http://www.city-realtor.ru/]Обзор рынка недвижимости[/url]: новостройки, вторичный рынок жилья, аренда квартир, коммерческая недвижимость, загородная недвижимость, ипотека.

# re: Event Handlers - Part 3: Register Event Handlers plus free Site Settings – Manage Event Handlers Add-on solution

Wednesday, December 17, 2008 1:34 AM by Amrita Singh Arya

Hi,

I want to override the Event handlers like ItemAdded and ItemUpdated, I want to capture events for 2 lists in the site.

Is it recommended to register the event handlers with the Web or with the Lists??

Please tell me.

# re: Event Handlers - Part 3: Register Event Handlers plus free Site Settings – Manage Event Handlers Add-on solution

Saturday, January 10, 2009 2:28 PM by rubudlena

А какие праздники вам нравятся?

# re: Event Handlers - Part 3: Register Event Handlers plus free Site Settings – Manage Event Handlers Add-on solution

Sunday, January 11, 2009 7:24 AM by Abramovicl

Hi , i have some questions about you desing

maybe you can give designer contacts?

# re: Event Handlers - Part 3: Register Event Handlers plus free Site Settings – Manage Event Handlers Add-on solution

Monday, January 12, 2009 9:34 PM by mebudinna

Нигде не нашла, как это сделать. Как удалять собственные темы на форуме?

# re: Event Handlers - Part 3: Register Event Handlers plus free Site Settings – Manage Event Handlers Add-on solution

Wednesday, January 14, 2009 2:07 AM by holrelena

А как зовут ваших зверюшек?  

У меня кот Барс (балбес еще тот)

Кошка Мусёна

# re: Event Handlers - Part 3: Register Event Handlers plus free Site Settings – Manage Event Handlers Add-on solution

Wednesday, January 14, 2009 10:30 PM by goreasveta

Посоветуйте, какое хорошее аниме можно посмотреть? Заранее спасибо.

# re: Event Handlers - Part 3: Register Event Handlers plus free Site Settings – Manage Event Handlers Add-on solution

Friday, January 16, 2009 3:25 PM by Industumtit

Тащимся с товарищем на встерчу. На моём авто(автобус Scania). Ползём не на скорости, торопиться некуда, хоть и время позднее. Ловит тачку на остановке красавица. Нам в ту же сторону. Девушка хорошо поддата. Плюхается на  сидушку. Только трогаемся, у нее звонит мобильник, и не успев выслушать абонента, она начинает кричать: "Да, #лядь! Еду уже, зае#ал, скоро приеду!!! Еду, #лядь!".

В озлобленности бросает мобильный телефон в сумочку. Спустя пару минут, очень спокойным и тихим голосом:

- Друзья, а можно чуть-чуть поскорей, а то меня мужик дома вые#ет...

На минуту задумывается. Понимает, что в нормальной компании так себя не ведут, и произносит:

- Ну, это конечно же в переносном смысле...

Погружается в себя. Начинает копаться у себя в сумочке. Мы понимаем, что про себя она никак не прекратит внутренний дискурс. И вот, уже скорее для себя, она с небольшой грустью в голосе говорит чуть-чуть тише:

- А вот в прямом, скорее всего, уже нет...

Находит в сумке сигарету, подкуривает ее, выпускает дым (нас уже нет для нее, все на полном автопилоте). И мстительно-мечтательным тоном:

- А более мне сегодня, вобще-то, и не надо...

# re: Event Handlers - Part 3: Register Event Handlers plus free Site Settings – Manage Event Handlers Add-on solution

Sunday, January 18, 2009 10:15 AM by MauSu

Всем привет. Зима, холодно. Подумайте и узнайте о каминах. Заходите в раздел [url=http://www.mao.su/]камины[/url].

# re: Event Handlers - Part 3: Register Event Handlers plus free Site Settings – Manage Event Handlers Add-on solution

Tuesday, January 20, 2009 11:14 AM by buplofodo

Почему на блоге так мало тем про кризис, Вас этот вопрос не волнует?

# re: Event Handlers - Part 3: Register Event Handlers plus free Site Settings – Manage Event Handlers Add-on solution

Wednesday, January 21, 2009 9:57 AM by yanaudenysh

птпрт парап парап рапр арапр прарап апрпар

# re: Event Handlers - Part 3: Register Event Handlers plus free Site Settings – Manage Event Handlers Add-on solution

Wednesday, January 21, 2009 4:27 PM by aohoinna

Вот такие Смс:

с днем варенья!!=)

жду с нетерпеньем...

# re: Event Handlers - Part 3: Register Event Handlers plus free Site Settings – Manage Event Handlers Add-on solution

Friday, January 23, 2009 4:14 PM by rusbulena

Я создала эту тему так как хочу, выслушать чем занимаются люди и каких добились успехов и зачем они делают это!И куда можно отправить детей заниматься!

# re: Event Handlers - Part 3: Register Event Handlers plus free Site Settings – Manage Event Handlers Add-on solution

Sunday, January 25, 2009 11:10 AM by gooballa

Понятно, что мы все хотели бы лежать на диване и получать деньги просто так =)

Но ведь по зрелому размышлению это бы нам надоело через месяц. Т.е. все равно пришлось бы найти себе работу/занятие по душе.

Если бы у Вас был бы счет в банке с которого бы Вы жили на проценты (т.е. вопрос о деньгах не стоит в принципе) чем бы Вы занимались? =)

# re: Event Handlers - Part 3: Register Event Handlers plus free Site Settings – Manage Event Handlers Add-on solution

Thursday, January 29, 2009 5:08 PM by MyrticeBoon

Хотела бы проконсультироваться на вашем форуме. Вопрос касается блог-движка WordPress. Не так давно обратила внимание на то, что в RSS-фиде не передаются links. То ли WordPress не работает, то ли Feedburner не принимает. Экспорт работает через плагин. Если у кого-то такой трабл был, подскажите как лечится.

# re: Event Handlers - Part 3: Register Event Handlers plus free Site Settings – Manage Event Handlers Add-on solution

Monday, February 02, 2009 11:25 AM by abigngirls

Я хотела бы узнать Ваше мнение об одиночестве. Я, к примеру, обожаю побыть одной, привести мысли в порядок. Поразмышлять о будущем. Есть ли у вас такая потребность?

# re: Event Handlers - Part 3: Register Event Handlers plus free Site Settings – Manage Event Handlers Add-on solution

Tuesday, February 03, 2009 12:49 AM by GerdaSim

Хотела бы проконсультироваться на вашем форуме. Вопрос касается блог-движка WordPress. Не так давно обратила внимание на то, что в RSS-фиде не передаются ссылки. То ли WordPress не работает, то ли Feedburner не принимает. Экспорт работает через плагин. Если у кого-то такая проблема была, расскажите как исправить.

# re: Event Handlers - Part 3: Register Event Handlers plus free Site Settings – Manage Event Handlers Add-on solution

Saturday, February 07, 2009 2:48 AM by Бриллиантовый

Иногда мне кажеться что людям надо больше улыбаться))! Внимание реклама - ходите в цирк!

# re: Event Handlers - Part 3: Register Event Handlers plus free Site Settings – Manage Event Handlers Add-on solution

Tuesday, February 10, 2009 10:12 AM by goodwriter

[url=http://advancedwriters.com]write outstanding descriptions for you comics sites with our service fast cheap and secure :) Discounts applied immediately :)[/url]

короче типа отспамился ;)

# re: Event Handlers - Part 3: Register Event Handlers plus free Site Settings – Manage Event Handlers Add-on solution

Friday, February 13, 2009 9:00 PM by VicDovbysh

Performing arts

Performing arts

Performing arts

Performing artsPerforming arts

Performing arts

# re: Event Handlers - Part 3: Register Event Handlers plus free Site Settings – Manage Event Handlers Add-on solution

Monday, February 16, 2009 2:14 PM by WalterDeen

Привет.Расскажите, что Вы подарите мужу на 14.02?

# Event Handlers - Part 3: Register Event Handlers plus free Site Settings – Manage Event Handlers Add-on solution

Thursday, February 19, 2009 11:15 AM by Microsoft SharePoint Bloggers

This post is the third post of a 3 post series. Post 1: Everything you need to know about MOSS Event

# re: Event Handlers - Part 3: Register Event Handlers plus free Site Settings – Manage Event Handlers Add-on solution

Tuesday, February 24, 2009 1:20 AM by Anil

These Post are very usefully for developer who is new to MOOS.

Thanks

Anil Thakur

# re: Event Handlers - Part 3: Register Event Handlers plus free Site Settings – Manage Event Handlers Add-on solution

Friday, February 27, 2009 11:26 AM by PLTurgeon

Those the Event Handlers Manager feature work with WSS 3.0?

# re: Event Handlers - Part 3: Register Event Handlers plus free Site Settings – Manage Event Handlers Add-on solution

Thursday, March 05, 2009 10:50 PM by LitBoy

«Зри в корень!» - это один из знаменитейших афоризмов Кузьмы Пруткова, написанный ещё в XIX веке. Старайся искать первопричину во всем. А что же лежит в основе любого [url=http://www.0820.info/]строительства[/url]? Конечно же, строительные материалы, и одно из первых мест здесь занимает .....

# re: Event Handlers - Part 3: Register Event Handlers plus free Site Settings – Manage Event Handlers Add-on solution

Sunday, March 15, 2009 11:43 AM by ncarbonneau

I tried to deploy the Manage Event Handler site settings application WSP file, but I always get the following error message:

Failed to extract the cab file in the solution.

My SharePoint server is a 64 bits machine, could it be the problem ?

Thanks

# re: Event Handlers - Part 3: Register Event Handlers plus free Site Settings – Manage Event Handlers Add-on solution

Thursday, March 19, 2009 7:27 AM by ArremaViali

Хочу поделиться историей, которая недавно произошла со знакомым, который лишился серьезной суммы денег. Может у кого-то был аналогичный случай?

Так это обычно делается. Идете вы по улице. К вам идет какой-то человек (часто он имеет спецом подозрительный облик), достает какие-то деньги и что-то принимается вам калякать. Ну, вы-то умный, имеете сведение, что деньги на улице обменивать не следует, да и вообще, не стоит даже в тары-бары ступать со первыми попавшимися странными типами. Проходите мимо. Разом к вам подлетают двое в штатском, тащат с собой этого типа, показывают вам какое-то удостоверение и показываются сотрудниками иностранной службы безопасности.

(Бесспорно, удостоверение смотри-не смотри - ничего вы там не уразумеете. Когда вам у нас-то милиционер показывает удостоверение, вы и то не отличите неподдельное от копеечной подделки. А тут - чужестранное!). Говорят вам: "Предъявите бумаги". Представляете паспорт. Могут строгим голосом задать вам еще пару каких-нибудь вопросов (готовят психологически). Следом спрашивают: "Вы обменивали деньги у этого человека? Мы видели, как он шел к вам!" Вы говорите: "Нет, не менял!" Лже-полицейские говорят: "Мы, все же, обязаны проверить! Продемонстрируйте, пожалуйста, ваши деньги". Вот первейший момент. Продемонстрировали деньги - считайте, потеряли большую их часть. Пока один смотрит деньги, другой вас на секунду оторвет каким-то вопросом или, скажем, неожиданно резко заломает руку этому "подозрительному типу" так, что тот вскрикнет. В этот миг ваши денежки будут подменены или просто большая их часть будет изъята.

Может кто-то слышал про подобные разводки?

# re: Event Handlers - Part 3: Register Event Handlers plus free Site Settings – Manage Event Handlers Add-on solution

Tuesday, April 28, 2009 3:24 AM by Jason Reed

I'm getting an error from your EventHandler CustomAdmin solution during feature activation.

The error that apparently has been around since Jan 2008 according to the issue tracker at CodePlex.

Is there a way around this problem?

# re: Event Handlers - Part 3: Register Event Handlers plus free Site Settings – Manage Event Handlers Add-on solution

Monday, May 11, 2009 10:20 AM by miha_tatu

У нас представлено более 800 эскизов для татуировки.

Добро пожаловать в МИР качественных эскизов татуировок.

[IMG]http://www.tattoo.redpage.ru/tatu/images/layout_02.gif[/IMG]

На сайте вы найдете рисунки, [url=http://www.tattoo.redpage.ru/tatu/i_3_1.html]эскизы татуировок[/url].

О [url=http://tattoo.redpage.ru/tatu/baze/0000002.htm]татуировках[/url] из энциклопедий.

# re: Event Handlers - Part 3: Register Event Handlers plus free Site Settings – Manage Event Handlers Add-on solution

Tuesday, May 19, 2009 10:22 AM by banduganochka

Добрый день. С наступающими майскими праздниками!

# re: Event Handlers - Part 3: Register Event Handlers plus free Site Settings – Manage Event Handlers Add-on solution

Sunday, May 24, 2009 1:58 PM by miooku

Новое казино Lasvegas-Casino.ru  – это частица крупнейшей в мире сети онлайн казино. Все азартные игры виртуального казино созданы и поддерживаются британским игровым гигантом казино - корпорацией Microgaming. Онлайн казино лицензировано и физически расположено в Канаде. Интернет казино - Lasvegas-Casino.ru проходит ежемесячные проверки случайности и честности выпадения результатов всех ставок.

# re: Event Handlers - Part 3: Register Event Handlers plus free Site Settings – Manage Event Handlers Add-on solution

Sunday, May 31, 2009 3:24 PM by пyпcя

Конечно, на самом деле так оно и есть. :)

# SPPD075 SharePointPodcast

Tuesday, June 09, 2009 7:07 AM by SharePointPodcast

Direkter Download: SPPD-075-2007-07-27 Diesmal nur mit kurzen Shownotes Buchtipps Microsoft Office SharePoint

# re: Event Handlers - Part 3: Register Event Handlers plus free Site Settings – Manage Event Handlers Add-on solution

Tuesday, June 16, 2009 10:17 AM by Michael B

just adding to the chatter, but I had to say that the Manage Events Feature is great!  

How could I have lived without it

thanks Brian

# re: Event Handlers - Part 3: Register Event Handlers plus free Site Settings – Manage Event Handlers Add-on solution

Saturday, June 20, 2009 10:05 AM by Gastromanka

Земляне! Планирую смотаться через пару месяцев на неделю в отпуск в широких пределах Родины от Одессы до Владивостока. Поделитесь мнениями об отечественных  "курортах".  Интересуют различные нюансы отдыха: чистота пляжей, стоимость жилища, отсутствие уличного криминала, достопримечательности, другие + и - Интересуют абсолютно все мнения!

# re: Event Handlers - Part 3: Register Event Handlers plus free Site Settings – Manage Event Handlers Add-on solution

Saturday, June 20, 2009 10:08 AM by Gastromanka

Господа! Планирую смыться через две недели на недельку в отпуск в широких пределах Родины от Одессы до Сочи. Поделитесь мнениями о отечественных  "курортах".  Интересуют различные нюансы отдыха: чистота пляжей, стоимость жилья, отсутствие уличного криминала, достопримечательности, остальные плюсы и минусы. Интересуют абсолютно все мнения!

# re: Event Handlers - Part 3: Register Event Handlers plus free Site Settings – Manage Event Handlers Add-on solution

Wednesday, July 01, 2009 8:42 AM by Jonas

Had the same problem as several others with the EXECUTE permissions. As suggested, I added the feature via stsadm.

Will there be any future "bugfix" release?

Thanks for this great tool!

# Действительно интересно

Wednesday, July 01, 2009 3:07 PM by Валерий

Обалдеть просто! Все, блин, всё знают, кроме меня :)

Leave a Comment

(required) 
required 
(required) 
 
Page view tracker