Dynamics CRM 2011 Code Visualizer

Gayan Perera, 22 November 2012

At Tech Ed 2012 New Zealand I demonstrated a javascript analyser.  You can use it to get an output in csv format of all the javascript within the system. It extracts the data from FormXml and outputs where the javascript is called from. e.g.: which library and which function on which form on which control and on what event.

We initially wrote this tool to automatically generate technical documents, to entice people to read these long boring technical documents we decided to add some pretty charts. Here are some of them in action.

 Dynamics CRM 2011 Code Visualizer

Above is a javascript utilization visualization chart of RIC (our Relationship Information Center add-on). It shows the percentage of javascript used by entity in the entire system.

The full code visualization tool also allows you to extract utilization reports about plugins and their steps. Below is an example of an actual customer which has just over 300 plugin steps.

 Dynamics CRM 2011 Code Visualizer

Bar chart above shows the number of plugin steps registered per entity. Below showe how we can also get a feel for the usage of each platform message.

 Dynamics CRM 2011 Code Visualizer

If you’d like a similar report for your system please contact us.