USD – Basic Training Module 9

Unified Service Desk (USD) for Microsoft Dynamics CRM is a framework that allows you to quickly create call center applications.

This is the 9th module in a training course I’ve created to help beginners understand the basics of USD.

In previous modules we’ve learnt how to open sessions (etc), in this module we will build on this concept by adding agent scripts. In a call center environment having the capability to create context sensitive agent scripting is an essential part of the application.

By the end of this module you will have created a simple but functioning agent script. With you USD application looking something like this;

During the video I show how to create an action to open a new case. In this I use the following lines in the data field of the action;


Next time we will look at important topic for any developer …. That being how to debug a USD application.

Enjoyed module 9? Try module 10.

9 thoughts on “USD – Basic Training Module 9

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

  2. Pingback: USD – Complete Basic Training Guide | Microsoft Dynamics CRM and Unified Service Desk

  3. Pingback: USD – Complete Basic Training Guide - Microsoft Dynamics CRM Community

  4. Pingback: USD – Basic Training Module 8 | Microsoft Dynamics CRM and Unified Service Desk

  5. Hello Neil,
    First of all, Thank you for such an amazing step by step tutorial.

    I tried the module 9 of your training and I have a small doubt in it, In the video you added the “Case Script Load” action on the “Browser Document Complete” event of the “Case” hosted control. That is working as expected.

    But I tried adding the “Case Script Load” action on the “Case from Anywhere (Popup)” and “Case from Anywhere (InPlace)” windows navigation rules (similar to account script load in your module 9 video), But the Case agent script is not loading when i try to open a new case from “Open New Case” answer on the account agent script.

    But when i try to open the a existing case from “recent case section” of the account form the Case agent script is loading correctly.

    I am bit confused, can you please help me with this and let me know why the Case agent script is not loading when i add it to the case navigation rules.

    Thanks in advance,


    • Hi Srini

      I haven’t had chance to test this fully but I believe I know the solution!

      Some actions fired directly in USD do not trigger the window navigation rules. For example, a navigate action doesn’t use them. It sounds like the New_CRM_Page action being called from your agent script also isn’t triggering the navigation rule. (As I said I haven’t tested this so this a slight guess but a pretty good bet!!)

      FYI: A popup action does trigger the navigation rules which is sometimes useful to know!

      You could add the Case Script Load action to the actions on the account’s agent script to create the case. So the one agent script answer will call a New_CRM_Page action and a GotoTask action. Meaning it would open the case page and start the agent script. (Or alternatively simply have the agent script answer on the BrowserDocumentComplete of the case tab.)

      You should be able to use the debugger to confirm exactly what is happening.

      I hope you are enjoying using USD, I think it is a great product.

      If this doesn’t work let me know and I will try to test in more detail. (But I am on holiday next week so it might be a few days!)




      • Hi Neil,

        Thanks for the quick Reply and Sorry for the late response was geld up some other CRM work.

        I can understand what you are saying, the New_CRM_Page action does not trigger the window navigation rules thus my Case Agent script is not loading.

        As you suggested I tried adding the “Case Script Load action” to the account’s agent script action still it didn’t work. When i viewed the debugger the “Case Script Load Action” has been triggered and it is completed in successful state. The case CRM page is loading (New CRM Page Action) as expected but the Case script is not loading.. I am not sure why it didn’t load the case script.

        Please check and let me know once you are free.

        Sorry for bothering you in your holiday..enjoy your Holiday.


  6. The Case script is loading as expected when i add to the BrowserDocumentComplete event of “Case” hosted control.

    I am just trying to understand all the possibilities this can be achieved, so that i can get a clear understanding of the USD application.


Leave a Reply

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

You are commenting using your 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