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
Blog
Blog
How transaction works in Dynamics CRM Aysnc Plugin
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. However in Async is a different story. What … Read More
CRM custom workflow activity version
A short explanation about custom workflow activity version in CRM 2015 Each assembly has a verison i.e. MMBR (Major, Minor, Build, Revision)Let’s say we have a custom workflow activity which is in production environment and we need to make some … Read More
Sample unit testing with XRM Test Framework CRM 2015
I have been using Microsoft Fakes for CRM unit testing which was good however recently came across xrm unit testing framework developed by Wael Hamze and Ramon Tebar which makes life much easier when comes to unit testing. You can write fake … Read More
A currency is required if value exists in money field CRM 2015
A currency is required if value exists in money field CRM 2015 This error usually comes up when a money field is added but logged in user does not have a default Currency set Go to settings menu of user … Read More
Filtered lookup view on pre selected values on CRM form
Let’s say we have a scenario where we want user to see and selected filtered records on a lookup view on a CRM form.In our example, we have a entity called ‘Contract Workstream’ which has a look up field called … Read More
Unit Testing MS Dynamics CRM 2015 Plugins with Xrm Test Framework
started a new Plugins project from scratch and wanted to add a unit test project using Xrm test framework by following instructions from the link below Create Plugin unit test Added all code as described in documentation above… Created fake … Read More
Generation of proxy/early bound classes in CRM
Few simple steps First need to go into MS Visual Studio Tools (Usually under Installed version of Visual Studio and then folder) Open Developer Command Prompt for VS2013 or whatever version you are using Once opened, change directory to where … Read More
Import of solution failed Plugins Profile missing
You might come across an error like below when importing a solution from one environment to an other Import of solution ‘ABCD’ failed. The following components are missing in your system and are not included in the solution. import or … Read More
How to include external references in Plugins and Workflow Activity in CRM
Could not load file or assembly ‘ABCD.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=a6a250603368f7aa’ or one of its dependencies. The system cannot find the file specified.’ An error when try to run a workflow or a plugin in Dynamics CRM. This usually happens when … Read More