web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Dynamically pass URL and parameters for USD Step

(0) ShareShare
ReportReport
Posted on by 295

Hi,

I want to pass parameters and open a URL dynamically inside Unified Service Desk.

For Example:

I am on step 1 which opens a case page, now I have a drop down of complaint type which has different values such as 0,1 and 3.

On selection of each value, the next USD step would be decided. For instance,

  1. if Complaint type is 0 then Google.com would open and it would take parameters first name and last name from case page.
  2. If Complaint type is 1 then www.yahoo.com would open and it would take email id as a parameter from case page
  3. If Complaint type is 2 then www.hotmail.com would open and it would take mobile number as a parameter from case page.

which means i need to keep both url and parameters and also the number of parameters dynamic and it should also be highly configurable.

Any suggestions or any out of box USD feature that supports it.

I am using USD 4.1 and CRM 8.2

TIA

I have the same question (0)
  • Suggested answer
    thonda Profile Picture
    Microsoft Employee on at

    Hi Faran Saleem,

    You should be able to achieve this either using http://event or http://uii protoco from javascript using window.open() function.

    Here is an example almost exactly what you want from USD's famous blogger Neil Parkhurst.

    https://neilparkhurst.com/2016/06/19/usd-call-events-from-javascript/

    Microsoft Documentation about this protocol is here https://docs.microsoft.com/en-us/dynamics365/unified-service-desk/create-user-defined-event?view=dynamics-usd-4.1

    You should also be able achieve this via http://uii as well, but above is much preferred way of doing things.

    var actionName = "Navigate";
    var applicationName = "XXXXXXXXX";// replace with name of your hosted control where you want to open the url.
    vat data = "url=https://google.com" ; // web page you want to navigate to..

    var actionCallData = "action=" + actionName + " " + "%0D%0A";
    actionCallData += "application=" + applicationName + " " + "%0D%0A";
    actionCallData += "data=" + data;
    window.open("http://uii/CRM Global Manager/CallDoAction?" + actionCallData);

    Let me know if you have any challenge implementing it.

    Regards,

    Praveen T

    D365 Customizations Support Engineer

    Microsoft Corporation

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 69 Most Valuable Professional

#2
ManoVerse Profile Picture

ManoVerse 55 Super User 2026 Season 1

#3
11manish Profile Picture

11manish 37

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans