Debugging CRM 4.0 Plugins in Visual Studio 2010

Hello, Spent a bit of time today pulling my hair out trying to develop (and debug) a CRM 4.0 plugin in Visual Studio 2010. Here’s some cheat-sheet notes Target Framework 3.5 – The IDE won’t even allow you to add the references to the SDK libraries unless it’s 3.0 or above. Once you have the dll and pdb disk deployed for your plugin and you wish to attach to the process make sure that you change the code type from automatic to Managed (v2.0,v1.1,v1.0) and T-SQL. The second one there was the sticking point since it’s usually set to automatic which will target 4.0...
read more

Populate a Lead via website form (CRM 4.0 IFD)

Hello, Every so often I am asked how to go about capturing a contact web form and pushing it’s data into CRM as a Lead for an Internet Facing Deployment(IFD). What’s different when connecting to the IFD CRM is that we need to make use of the ticketing system in the web service.  As you’ll see in the code snippet below I’m generating a ticket that I use to authenticate and apply it to the token for future calls. // For an IFD site we need to connect to the CrmDiscoveryService and retrieve a ticket // Note the AuthenticationType attached to the Token below. ...
read more

CRM 4.0 – SDK Update 4.0.13 Released

Microsoft has recently released the 4.0.13 SDK for Dynamics CRM 4.0.  You can find it here.
read more