CRM 4.0 opportunityclose Object

by Matt 5. February 2011 13:30
Programmatically closing an Opportunity object is pretty easy in CRM 4.0, although it took me some time to figure out how to do it correctly. [More]
Tags: , , ,
Categories: .NET | C# | CRM

CRM Error 0x8004416c - PluginAssemblyMustHavePublicKeyToken

by Matt 21. January 2011 17:43
So you've created added a brand new Project to your Dynamics CRM Plugin Solution. You write your code, compile it, and use the plugin registration tool to register the assembly and create your desired steps. [More]
Categories: .NET | C# | CRM

Retrieve Dynamic Entities By Property in CRM 4.0

by Matt 30. July 2010 16:14
The building up of a QueryExpression in CRM 4.0 SDK is a bit different than it was in 3.0 because of the introduction of generics to .NET, and is less dependant on arrays than it was in the past. Our PluginHelper project had a method that allowed the user to retrieve a Dynamic Entity based on the primary key, but I needed a way to retrieve Dynamic Entities based on other properties. [More]
Categories: .NET | C# | CRM

DuplicateRecord Error using Plugin Registration Tool

by Matt 30. July 2010 15:40
A rather annoying error came in the form of 0x80040237 (DuplicateRecord: Operation failed due to a SQL integrity violation) when using the Plugin Registration Tool. I had written the plugin and put it on the dev server to test it in various scenarios and when I was confident it was bug free. [More]
Categories: CRM

0x80040265 The given key was not present in the dictionary

by Matt 30. July 2010 15:11
I'm writing a CRM 4.0 plugin and have encountered this error. A bit of debugging helped me see what was going on. [More]
Tags: ,
Categories: CRM | C#

Making a Custom Activity Work in Your Project

by Matt 12. May 2010 10:39
In the past I have followed an amendment of these instructions in order to get a custom activity to work in a CRM workflow project. [More]
Tags:
Categories: C# | CRM

Deactivating Records Of Custom Entity in CRM

by Matt 5. May 2010 14:50
I just spun my wheels a bit too much trying to solve a problem that wasn't really a problem at all. [More]
Tags:
Categories: C# | CRM

Retrieving DynamicEntity in Dynamics CRM 4.0 To Access Custom Properties Of An Entity In Your Workflow

by Matt 30. March 2010 00:10
I've been working with Dynamics CRM 4.0 for a while now, and last week had to write the most complicated workflow I've ever done. [More]
Categories: ASP.NET | CRM | C#