USD – Setup Debugger.

You will quickly find in USD that you’ll need access to the debugger to be able to diagnose problems. I’ll discuss in another post how to use the debugger but lets start with information on how to configure it.

The steps involved are;

  1. Create a hosted control for the debugger.
  2. Create a hosted control for a toolbar for the debugger option.
  3. Create an action to show the debugger.
  4. Create a toolbar and link to the toolbar hosted control created in step two.
  5. Create a toolbar button that will trigger the action to show the debugger.
  6. Test this works.

Step One – Create a hosted control for the debugger.

Go to hosted controls in USD and create a new hosted control for the debugger.

  • Name = Debugger
  • Display name = Debugger (Global)
  • USD Component Type = Debugger
  • Display Group = Main Panel

Step Two – Create a hosted control for the a toolbar for the debugger option.

Setup Debugger - Hosted Control (About Tool Bar)In my example I have decided to put the debugger in the about toolbar, but you could choose any toolbar position.

  • Name = About Toolbar Container
  • USD Component Type = Toolbar container
  • Display Group = AboutPanel

Step Three – Create an action to show the debugger.

Goto the actions area of USD settings and add a new action.

Setup Debugger - Action

  • Name = Show Debugger
  • Hosted Control = The global manager. (In my case “CRM Global Manager”)
  • Action = CallDoAction
  • Data = “action=default, application=Debugger”

Step Four – Create a toolbar and link to the toolbar hosted control created in step two.

Now you’ll need to use the toolbar option under USD settings to add a new toolbar.

Plus the toolbar will need to be associated with the hosted control you created for the about tool bar. (Using the hosted control option in the navigation on the toolbar, once saved.)

Setup Debugger - About Toolbar

Step Five – Create a toolbar button that will trigger the action to show the debugger.

Once you have created the toolbar add a toolbar button with an action that will trigger the action you created in step three.

Setup Debugger - Toolbar Button

Step Six -Test this works.

Now load your USD application, you will have a toolbar menu with a debugger option. Clicking this should show a debugger tab that will look something like the one shown below.

Debugger

In a future post I will expand on this concept and explain how the debugger option can be visible to just selected users.

5 thoughts on “USD – Setup Debugger.

  1. Pingback: Learning USD | My experiences with Microsoft Dynamics CRM

  2. Pingback: USD – Using the Debugger | Microsoft Dynamics CRM and Unified Service Desk

  3. Pingback: USD – Using the Debugger - Microsoft Dynamics CRM Community

  4. Pingback: Learning Unified Service Desk | Microsoft Dynamics CRM and Unified Service Desk

  5. Pingback: USD – The Book | Microsoft Dynamics CRM and Unified Service Desk

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s