Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

Unified Service Desk - Hosted Control Types difference

Posted on by Microsoft Employee

I have 2 cenarios that i have to show a hosted control and other cenario i have to hide the same hosted control. If i use "CCA hosted control" type, i can control the hosted control using the checkbox "the application is dynamics?" and if i use the type USD hosted control, the Desktopready is always called and i can use the "MoveToPanel" to hide the hosted control.

So, what are the differences between these hosted control types and what should i use for this cenario?

*This post is locked for comments

  • Suggested answer
    ansrikanth Profile Picture
    ansrikanth 3,115 on at
    RE: Unified Service Desk - Hosted Control Types difference

    The "CCA Hosted control", they kept this for backward compatibility (for the CCA aplication migration to USD). Also, this control is more useful if you want to go for some automation with your legacy web/windows based applications.

    If you talk about regular USD Hosted control, you can use Desktop ready event, call actions and play with your application. Technically, These controls are also derived from same CCA Hosted controls, but these are controlled carefully (in terms of memory utilization and disposing the controls, which used to be troublesome task in CCA) by MS in USD.

    Which one to use : If you are having any requirement to do some sort of crazy automation (like, Automatic Key-in, clicking on buttons etc), Then I would prefer to go for CCA Hosted control, where you can write adapters to do the automation. Otherwise, if it is simply hiding/unhiding/restricting at user level etc, then you can use USD Hosted control.

    Hope this answers the question.

  • Suggested answer
    Neil Parkhurst Profile Picture
    Neil Parkhurst 10,725 User Group Leader on at
    RE: Unified Service Desk - Hosted Control Types difference

    DeskTopReady event is linked to your Global manager as it is fired when USD loads. Often you will load (or not) some hosted controls at that point.

    As a hosted control loads you also get a BrowserDocumentComplete event which is that hosted control loading. (FYI: You also get a PageLoadComplete event but that happens no load of each frame and can happen multiple times per load of a hosted control, so I normally focus on BrowserDocumentComplete)

    MoveToPanel actions can be used to change the display group of any hosted control. The display panel could start as hidden if you required. Often I use this to move controls from MainPanel to FloatingPanel etc.

    The events and actions are not always related to the hosted control type! Although I have observed that each type will have a default set. But often you can add any missing actions manually. So the purpose of type can sometimes be a little confusing.

    Do you have any specific scenarios or problems you have issues with?

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans