Reflecting on Reflection

by Matt 13. August 2010 16:24
It’s been a while since I’ve had to use reflection for anything, but it’s a very useful concept to understand as it can save you many lines of code and provide a smart solution when it is applicable. After playing around with it for a little while, I finally did solve my reflection problem; Apparently it works best when you stand in front of the mirror. [More]
Categories: .NET | C#

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

Dynamically Dependant CRM Picklists

by Matt 5. April 2010 09:44
If you ever come across a need to link the options of one picklist list to the selected value of another, you might be terrified about the Javascript you will have to write to achieve this. [More]
Tags:
Categories: CRM | ASP.NET

NHibernate Cascade Options Explained

by Matt 30. March 2010 00:23
NHibernate offers several cascading options. Consider the behaviour of each, and choose the best option for your app. [More]
Categories: NHibernate

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#

Hosting an MVC Application on XP (IIS 5.1)

by Matt 22. March 2010 00:40
Getting an MVC 2.0 application running on my XP Pro box under IIS 5.1 was a fairly painless process, contrary to the feelings conveyed in many blog posts I had read on the subject. [More]
Tags:
Categories: IIS | MVC