A tool to register for all messages and entities.
This project extends the Plugindeveloper tool supplied in the CRM SDK v.4.0.4 to allow easy registration of a plugin for multiple messages and/or entities. It uses the sdkmessagefilter class to retrieve all valid message and entity combinations, and uses a BulkStep element within the register.xml file to specify which of these combinations to use. The main additional code is in the new file MessageFilter.cs, and the construtor of the Solution class has been modified to use the new MessageFilter class.
A few additional modifications to the Plugindeveloper tool have been included:
All these modifications have been commented with: // DJ
The full solution has been built with web references to a CRM server at http://CRM that uses Active Directory authentication. This tool can be used in conjuction with the PluginLogger tool here http://code.msdn.microsoft.com/crm40pluginlogger to track all plugin events.
Kudos to David Jennaway.