Can I get single quotes with my FetchXML, please?

“I’d like my FetchXML with double quotes, please”, said no Dynamics developer, ever. If you ever export FetchXML from the Advanced Find tool in Dynamics, you’re most likely doing this because you want to use that FetchXML in code somewhere. … Continue reading

Posted in Dynamics CRM, Uncategorized | Tagged | Leave a comment

Programmatically removing components from a MS Dynamics form or view

The ‘additive’ nature of CRM deployments means that it can be easier to add components to an instance of CRM than it is to remove them. With the additive model, even if you delete a component from your development environment … Continue reading

Posted in CI, Dynamics CRM | Tagged | Leave a comment

System.IO.FileLoadException and other errors in plugins deployed by CRM developer toolkit to Dynamics 2015

On creating a new plugins project for our Dynamics 2015 organisation with the latest version of the Dynamics 365 Developer Toolkit we were experiencing all sorts of errors, either on deployment or on execution. On trying to register a plugin … Continue reading

Posted in Dynamics CRM, Uncategorized | Tagged | Leave a comment

State-based vs Interaction-based testing in Dynamics CRM

When writing Unit Tests one can focus on two different aspects of the code under test. We can call these two types of tests ‘State-based’ and ‘Interaction-based’. The first of these concentrates on the end result achieved by the code … Continue reading

Posted in Dynamics CRM, FakeXRMEasy, Testing | Tagged , , | Leave a comment

Error while loading code module: ‘Microsoft.Crm.Reporting.RdlHelper’

When trying to compile a FetchXML-based report in Visual Studio 2015 which had been developed in an earlier version of Visual Studio, we were getting the following error: Building the report, ReportName.rdl, for SQL Server 2008 R2, 2012 or 2014 … Continue reading

Posted in Dynamics CRM | Tagged | Leave a comment

Using Impersonation in Dynamics CRM

While you can’t log in as another through the Dynamics CRM front  end, as a System Administrator it is possible to impersonate another user when making calls to the CRM API. This is very useful if you want to be … Continue reading

Posted in Dynamics CRM, LINQPad | Tagged , | 2 Comments

Connecting LINQPad to Dynamics CRM using a manually created connection

In the first article in this series, I demonstrated how to use the Dynamics CRM LINQPad Driver to connect LINQPad to CRM. In this follow-up I will show how to create a ‘manual’ connection, and why you might want to … Continue reading

Posted in Dynamics CRM, LINQPad | Tagged , | Leave a comment

Connecting LINQPad to Dynamics CRM using the Dynamics CRM LINQPad Driver

LINQPad is an invaluable tool for any .Net developer, and it will greatly enhance your ability to write and support applications using Dynamics CRM. There are two ways with which to connect to an instance of Microsoft Dynamics CRM using … Continue reading

Posted in Dynamics CRM, LINQPad | Tagged , | Leave a comment