MS Dynamics CRM

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

assembly must be registered in isolation crm 2015

Error when importing a solution from one environment to an other environment in CRM 2015 or CRM 2013 assembly must be registered in isolation This usually occurs if you are not added to administrator list in Deployment manager tool on server. … 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

How to get organization id with organization name in CRM 2011

How to get organization id with organization name in CRM 2011 To get an organization id with organization name in CRM 4.0 we used below static public string OrganizationId(string orgName){if (organizationIds == null)organizationIds = new Dictionary<string, string>();string organizationId = string.Empty;if … Read More

CRM 2011 get List of all Organizations and get url from organization details collection

CRM 2011 get List of all Organizations and get url from organization details collectionHow to get URL from list of organisations when getting data back from OrganizationDetailCollection Method to get list of OrganizationDetailCollectionpublic static OrganizationDetailCollection GetOrganizations(){string url = CrmServerConnection.GetMSCRMServerUrl(); if … Read More

CRM Difference between managed and unmanaged solution

Main differences between unmanaged solution and managed solution in MS Dynamics CRM Unmanaged Solution and managed solution In unmanaged solutions we can create components and customise as we want to where in managed we can restrict things Unmanaged solutions usually … Read More