We know that Sync plugin in CRM executes with in the pipeline’s transaction and if we need to cancel whole transaction we can throw an exception and whole transaction will roll back.
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.
Error when importing a solution from one environment to an other environment in CRM 2015 or CRM 2013 assembly must be registered in isolation
Recently I have worked on arequirement where I had to write a service which was going to be used by different clients and had to call same service using HTML web resource in CRM 2015.
When retrieving data in CRM using JQuery datetime comes back in int format with some back/forward slash. Below is sample script how to remove back clash and forward slash and then covert to proper date time.
To display a ribbon button using work bench in MS Dynamics CRM only when an existing record is loaded and not on new one. In this example I will be creating a button and calling a html web resource by clicking a button.
It was easy to get Guid Id of a record on form as it was being displayed in URL however in CRM 2013/2015 it does not. Sometimes we need an id of record from URL so below is a simple solution to get the id
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
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 form
When opening any sample code of CRM 2015 in Visual Studio 2013 we usually get an error to install .Net Framework 4.5.2 and projects don’t get loaded. Even after installing this error will not go away.