Server Side Event Handlers (Project Server 2010 settings)

 

Applies to: Project Server 2010

Topic Last Modified: 2011-08-05

The Server Side Event Handler settings are available through the Microsoft Project Server 2010 Server Settings page in the Operational Policies section. For more information about related administrative settings, see Operational Policies (Project Server 2010 settings).

Configure Server Side Event Handlers

Similar to Microsoft Office Project Server 2007, Project Server 2010 provides public events that enable development of custom processes such as adding and enforcing business rules, validation, data processing, notification services, and workflow. These custom processes are written as server-side event handlers by developers in an organization and can be associated to Project Server 2010 events through the Server Side Event Handlers page in Project Web App Server Settings. For example, developers in your organization can create an event handler that starts a custom workflow. Through the Server Side Event Handlers page, you can associate that event handler with the Project Published event so that a workflow starts when the event occurs.

For more information about Project Server events, see the MSDN article, Project Server Events (https://go.microsoft.com/fwlink/p/?LinkId=214597).

For more information about Project Server event handlers, see the MSDN article, How to Write and Debug a Project Server Event Handler (https://go.microsoft.com/fwlink/p/?LinkId=214598).

To associate an event handler with a server-side event

  1. On the Server Settings page, in the Operational Policies section, click Server Side Event Handlers.

  2. On the Server Side Event Handlers page, in the Events list, find the event that you want to associate your new event with, and then click the Event Source listed next to the Event Name (for example, click the Project event source for the Published event name).

    In the Event Handlers section, the Event Source and Event Name should be populated with the event that you selected. Any event handlers that are currently associated with the event appear in the Event Handlers list.

  3. Click New Event Handler.

  4. In the New Event Handler page, enter the following information for the event handler that you want to associate with the selected event:

    1. In the Display Information section, enter the event handler name. You can also optionally enter a description of the event handler.

    2. In the System Information section, in the Assembly Name field, enter the full name of the strongly named event handler assembly.

    3. In the Class Name field, enter the fully qualified name of the class that implements the event handler functionality.

    4. In the Order field, provide the order number of the event handler. If it is the only event handler associated with the event, enter 1. If there are multiple event handlers associated with the event, enter the order number in which this event handler will be executed.

  5. Click Save.