Compartir a través de


Introduction to the event framework

 

Applies To: Dynamics CRM 2013

With Microsoft Dynamics CRM 2013 and Microsoft Dynamics CRM Online you have the ability to extend or customize the functionality of the server through the integration of custom business logic (code). You can customize the product to support the way your company does business, and you can add new features to the product. The technology that enables your custom code to be developed and integrated into the Microsoft Dynamics CRM server is called the event framework.

The event framework enables you to create rich vertical and horizontal solutions on top of Microsoft Dynamics CRM by supporting the development and integration of custom business logic with Microsoft Dynamics CRM in a reliable and portable way. After your custom business logic has been integrated into Microsoft Dynamics CRM, it can be executed synchronously as part of the main Microsoft Dynamics CRM execution path, or asynchronously from a managed queue. Business data can be passed to your custom code, which can then perform actions based on the nature of the information, or modify the information itself.

The Event Framework provides the following key features:

  • An improved event processing subsystem. This subsystem provides a unified method of executing both plug-ins and workflow activities, which results in improved reliability, an enhanced feature set, and plug-in portability.

  • An event framework API for extending the Microsoft Dynamics CRM platform through the development of custom business logic in the form of plug-ins and workflow activities.

  • An API for the deployment of plug-ins and custom workflow activities to the Microsoft Dynamics CRM database. Deployment of plug-ins and workflow activities to the database enables automatic distribution of your plug-ins and custom workflow activities to servers running Microsoft Dynamics CRM services throughout a datacenter.

  • Synchronous and asynchronous execution of plug-ins. Synchronous plug-ins are executed in a pre-defined order as part of the main Microsoft Dynamics CRM event processing. Asynchronous plug-ins are queued and executed independently.

The Event Framework is only supported on the Microsoft Dynamics CRM server and the Microsoft Outlook client. For more information about how to extend the Microsoft Dynamics CRM Web application, see Developers guide to customization for Microsoft Dynamics CRM 2013.

In This Section

Event execution pipeline

Plug-in isolation, trusts, and statistics

Write plug-ins to extend business processes

Supported messages and entities for plug-ins

Plug-in development

Plug-in entities

Plug-in registration entities