MS CRM 2015

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

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

Open Close as Won dialogue with JavaScript on Opportunity

You might come across a requirement where you wan to open Close as Won or Close as Lost dialogue when user gets to last stage of business process flow on Opportunity form. Out of the box button (‘Close as Won’) … Read More

CRM Call WCF Service in HTML Web Resource using AJAX

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.To achieve this first of all … Read More

wcf service wsdl domain name

When creating a new WCF and hosting locally or dev/prod server you might come across an issue where WSDL will display a URL with computer/local name which is different to URL of service Fro example actual URL might be And … Read More

Get guid entity id in crm 2015 url

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 … Read More

How to get data by REST and display as a warning message on CRM form

In this post we are going to get an attribute value from Account entity on Order form and then display value on Order form as a Warning message (from CRM 2013 we can display wanting, info and error messages at … Read More