Plugins 101 In Microsoft Dynamics CRM 2015
-
Upload
ashish-vishwakarma -
Category
Software
-
view
286 -
download
1
Transcript of Plugins 101 In Microsoft Dynamics CRM 2015
Plug-Ins 101in
Dynamics CRM 2015
Agenda
Why Plugins? Event Pipeline Messages Images How to develop a plugin?
Why Plugins
Plug-in is custom code that is triggered on specific event on specific entity. Plug-in vs. Client-side Code Plug-in vs. Processes Synchronous vs. Asynchronous Plug-ins
Event Pipeline
Pre-event/Pre-Validation Pre-event/Pre-Operation Platform Core Operation Post-Event
Messages
Plug-in Message is the triggering event, such as Update or Create.
Most commonly used messages are… Create Update Delete Retrieve RetrieveMultiple Etc.
Images
Snapshots of the entity’s attributes, before and after the core system operation.
Messages Stage Pre-Image Post-ImageCreate PRE No NoCreate POST No YesUpdate PRE Yes NoUpdate POST Yes YesDelete PRE Yes NoDelete POST Yes No
How to Develop a Plugin?
Project Template type must be Class Library. Microsoft.Xrm.Sdk.dll reference must be added. Class must Inherit IPlugin Interface. Signing Assembly is required for deployment.
Thank You!