CRM Plugin

Fire plugin from Ribbon – Header in CRM 2015 by calling Action

I recently had a requirement where client wanted to fire a Plugin on demand in CRM 2015 i.e. from a button in header, something like next to Assign a new button Publish Here is a little background about the requirements … Read More

How to prevent a record to be created in a plugin?

Let’s say we have a situation where we create a record by running a workflow ‘ABCWorkflow’ but we want to check some kind of criteria/conditions and if it meets that criteria then create that record otherwise cancel transaction. Unfortunately in … Read More

Get OptionSet value and set OptionSet value in CRM 2015 Plugin

Below is an explanation how to get a value and label of an OptionSet field and set a value of an OptionSet field on the basis of lable in CRM 2015/2013 plugin. Let’s say we had two fields on our … Read More

How to create a new plugin in MS Dynamics CRM 4.0

How to create a plugin in MS CRM 4 and deploy In this tutorial we will be using MS Visual Studio 2013 to create a plugin using C# and deploy it to CRM 4. We want create a plugin which … Read More