How to Start Developing a Plug-in
1. Download CRM SDK. This will provide you all the information, required SDK assemblies, and many helpful samples.
SDK Download Link - ( https://www.microsoft.com/en-in/download/details.aspx?id=50032 )
2. Set up your plug-in project in Visual Studio. This will be a .NET Framework class library.
3. Add References. At a minimum, you will need Microsoft.Xrm.Sdk, obtained from CRM SDK.
4. Extend the class from Microsoft.Xrm.Sdk.IPlugin
5. Write your code
6. At the project, sign the assembly. This is required in order to be able to deploy the plugin.
7. Now you can go to location SDK and find Plugin Registration Tool in SDK.
8.Login to your Organization.
9. We will create a new assembly for our brand new plugin code , (we will discuss all aspects of Assembly and Step Registration in my upcoming blog. How to register plugin in Dynamics CRM using Plugin Registration Tool.)
10. Now, We will register the step on which we want to register our plugin/select primary and Secondary Entity/ Event Pipeline Stage of Execution / Execution Mode / Deployment / Secure and Unsecure Configurations , (we will discuss all aspects of Assembly and Step Registration in my upcoming blog. How to register plugin in Dynamics CRM using Plugin Registration Tool).
I think this information is enough to start working with plugins in Dynamics CRM, We will discuss how to write code for plugins, All aspects of Plugin Registration and different real time scenarios to work with Dynamics CRM Plugins in my upcoming blogs.
If you have further queries/seek clarification, please do let me know.
Also, please do not forget to share your valuable feedback. It means a lot to me.
1 Percent better Every day.









neat and clean content.
ReplyDelete