CRM 2011; Passing parameters to a custom url through the navigation bar

There is a very simple way to pass the form parameters to an external url when you add a navigation link to a form. When you want to do this you can use the “PassParams” parameter in your ribbon.xml. Sadly this parameter is not available in the user interface, so you will need to modify it by hand.

More information you can find here.

Share
Posted in .NET, C#, CRM | Tagged , , , , | Leave a comment

CRM 2011: Disabling all fields on a form

Stop writing large amounts of code to disable all the fields on your CRM 2011 form. Have a look at the code snippet here and your done very quickly.

Share
Posted in .NET, CRM | Tagged , , , , , , | Leave a comment

Working with Javascript in CRM 2011 Rollup 11; You have exceeded the maximum number of 200 characters in this field; it will be truncated

You probably get an unpleasant suprise after installing rollup 11 on CRM when you start editing your javascript files. Quite quickly you will be prompted with: “You have exceeded the maximum number of 200 characters in this field; it will be truncated”.

However you can work around this CRM bug; Never click on “OK” when you are prompted with the message, but rather press “Cancel” and then “OK”. Tadaa now your javascript is saved fully without this irritating message :) .

Share
Posted in .NET, CRM | Tagged , , , , , , , , , | Leave a comment

CRM 2011 Metadatabrowser now works with ADFS!

Rhett Clinton has delivered a new set of tools for Dynamics CRM 2011 in which he has incorporated some of his older tools. One of those, if not the most well known, the meta data browser wasn’t working on ADFS in the past which was a real shame.

However Clinton has recently released the Dynamics Xrm Toolkit 2011 together with Ramon Tebar which includes full ADFS support and contains the following components:

  • OData Query Designer
  • Metadata Browser
  • CRM 4 to CRM 2011 JavaScript Converter
  • Trace Tool (on premise only)
  • Statistics

We already are using it at our customers and even with the beta everybody is already quite happy :) .

Share
Posted in ASP.NET, C#, CRM, Development | Tagged , , , | Leave a comment

Generic Dynamics CRM 2011 connection component

Recently I came across this little gem: Connection Controls for Microsoft Dynamics CRM. It is written by tanguy92 and contains a generic library for connecting to Dynamics Online, On Premise or on IFD.

It also includes a dynamics user interface for WinForms which is looking very nice, easy to install and in my opinion quite user friendly…

The biggest con is that the UI code is mixed up with the connection code, so with the current codebase you can’t really use the component as your library for connecting to CRM from anywhere (WPF, WinForms, ASP.NET, Windows Services etc..). However it is very easy to extract the UI code from the library..

 

I already did that, so I’ll try to get it added to the project (Still have to do some bugfixing and cleaning), but meanwhile I still suggest you to check it out!

Share
Posted in .NET, C#, CRM | Tagged , , , , , , , , | Leave a comment