Thursday, May 22, 2008

Plugins – Which message and which pipeline

David Jennaway who is the technical director at Excitation has a great article on plug-ins located on the Microsoft Dynamics CRM Team Blog

In Microsoft Dynamics CRM 4.0, plugins offer a very powerful mechanism to attach code to a wide range of platform events. Each event is identified by the message that was used to cause the event. However, the very range of messages available can cause confusion, as it is not always obvious which message to use for a given operation.

In this article I’ll describe a way to identify the messages and associated data for any platform. This uses 2 components; the main one comprises extensions to the Plugin Developer tool that provide a simple way to attach a plugin to all message permutations, or a designated set of messages. The other component is a sample plugin to log message details to a SQL database. Both components are implemented as .Net assemblies, and I’ve posted the source code to each on the MSDN Code Gallery. See the links later in the article

Continue to read more on the Microsoft Dynamics CRM Team Blog

No comments: