Hi,
Can anyone please let me know how CRM internally call the plugin on any event.
Thanks,
Nausher
*This post is locked for comments
Hi,
Can anyone please let me know how CRM internally call the plugin on any event.
Thanks,
Nausher
*This post is locked for comments
If i understood the question correctly the answer is Reflection see Dynamically Loading and Using Types
Hi Nausher,
I received your tweet...
In order for crm to call a plugin. The plugin need to be registered within crm. Once the plugin is registered, you can register plugin steps. A plugin step is a combination of an entity and amessage name on which the plugin dll reacts (executes your custom code). Per plugin step you can specify in what execution stage the plugin step reacts (pre or post) and whether the plugin step should react synchronously (the plugin kicks in immediately)or asynchronous (for longer running actions.
Jason already pointed out some good articles
I hope this helps you, otherwise send me a dm on twitter with your questions.
Cheers,
Bas
Every event or request in dynamics CRM trigger an "Event execution pipeline" this pipeline mainly contain 4 steps :
Thanks Jason, But i want to know how crm internally create instance of plugin object and use.
You might want to look at the documentation on plug-ins:
André Arnaud de Cal...
292,494
Super User 2025 Season 1
Martin Dráb
231,305
Most Valuable Professional
nmaenpaa
101,156