Solution segmentation has greatly improved since Dynamics CRM 2016. You are able to deploy small fixes to your production environment by the use of a patch solution. This reduces the risk of unintentionally modifying objects on the target deployment. More… Read More
LINQPad and Dynamics CRM
I recently came across a program called LINQPad and decided to give it a try. What is LINQPad LINQPad is a software utility targeted at Microsoft .NET development. You can use the tool to write C# code without the need for an… Read More
Update status (statecode & statuscode) of a CRM record using C#
Prior to Microsoft Dynamics CRM 2015 (update 1) we had to use special messages when updating special fields. Those special fields include the record’s status (statecode, statuscode), the owner of the record (ownerid), etc. The full list of those special… Read More
Plugin Registration Tool: Could not load file or assembly
When registering a new assembly in the Plugin Registration Tool you might encounter the error “Could not load file or assembly”. Unhandled Exception: System.IO.FileLoadException: Could not load file or assembly ‘file://….dll’ or one of its dependencies. Operation is not supported.… Read More
Create record with related record(s) in a single request using C#
Creating a record in Microsoft Dynamics CRM using C# is pretty straightforward. When you try to create a record together with some related records in the same request, you should use the RelatedEntities property of the parent entity (msdn). The RelatedEntities property requires the… Read More
Execute a Dynamics CRM Workflow from C#
Executing a Workflow from code requires a different approach than executing a custom action from code. This post describes why.