Select a hosting method for your controls
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2013, Dynamics CRM 2015, Dynamics CRM 2016
Unified Service Desk offers you three browser controls for hosting your webpages: IE Process, Internal WPF, and Web Hosted Application. Select a browser control to host your webpage in Unified Service Desk from the Hosting Type list when you define a hosted control instance.
In This Topic
Web Hosted Application
The IE Process browser control hosts your controls in individual Internet Explorer process instances, and displays them in tabs in the Unified Service Desk client application. It facilitates predictable page rendering by making sure that if your web application works in Internet Explorer, it will work in Unified Service Desk. You can select IE Process as the hosting method for the Dynamics 365 Dialog, Dynamics 365 Page, KM Control, and Standard Web Application type of hosted controls.
To use the IE Process browser control, you must select the Enable Protected Mode check box for the Local Intranet security zone in Internet Explorer. More information: What does Internet Explorer protected mode do?
If enabling protected mode for intranet sites is not feasible, you must instead add the following URLs to the Restricted Sites security zone in Internet Explorer:
More information:Security zones: adding or removing websites
If you do not enable the protected mode for the Local Intranet security zone or add the above URLs to the Restricted Sites security zone, blank pages with http://event?eventname=usdreload in the address bar will pop up for users when they work in the Unified Service Desk client. More information:Blog: IE Process mode gives http://event popup
The IE Process browser control has been rewritten in Unified Service Desk 2.0 to offer significant memory and performance enhancements:
Better memory management: Internet Explorer process instances used for hosting your webpages are now hosted outside of the Unified Service Desk process instance. This significantly reduces the memory footprint of Unified Service Desk when you display or work with multiple controls at the same time within the client application.
Improved stability and performance: The Internet Explorer process instances used for hosting your webpages are isolated from each other so that when a hosted control becomes unresponsive in the client application, all the other hosted control tabs along with the Unified Service Desk client application continue to remain operational. Also, the Unified Service Desk Monitoring Process (usdmp.exe) service continuously monitors the health of Unified Service Desk, and terminates any browser process instances that are unresponsive and causing Unified Service Desk to freeze. If a browser process instance isn’t responding, but Unified Service Desk is responsive, the browser process instance won’t be terminated.
Use the ProcessTerminationThreshold option in Unified Service Desk to specify the timeout period for the duration (in milliseconds) that the Unified Service Desk Monitoring Process (usdmp.exe) service waits before terminating an unresponsive Internet Explorer process that's causing Unified Service Desk to become unresponsive. Valid range is between 0 and 30000. If set to 0, the Unified Service Desk Monitoring Process (usdmp.exe) service won't start, and won't monitor Unified Service Desk for unresponsive behavior. If set to any other value within the range, Unified Service Desk automatically starts the monitoring process. The default value is 5000 milliseconds (5 seconds). For more information about setting this option, see TechNet: Manage Options for Unified Service Desk
With Unified Service Desk 2.0, when you create an instance of a Dynamics 365 Dialog, Dynamics 365 Page, KM Control, or Standard Web Application type of hosted control, the Hosting Type field in the New Hosted Control form is set to IE Process as the default option. Previously, Internal WPF used to be the default hosting type option. You can select Internal WPF instead for your hosted control, if required.
The Internal WPF browser control uses the WpfBrowser component, which is based on the Windows Presentation Foundation (WPF)WebBrowser control, to host the webpages in Unified Service Desk. This browser control is the traditional method of hosting controls in Unified Service Desk. It uses the security subsystem in Internet Explorer and Windows to allow the hosted application to operate the browser functionality in the same mode as the application without changing the Internet Explorer settings, and therefore reduces the security of Internet Explorer for applications outside of Unified Service Desk. While there are advantages, occasionally you may find that you need the features of an Internet Explorer add-in or a feature in the native browser that may not be supported in this browser control, and you should use the IE Process browser control instead.
Web Hosted Application
The Web Hosted Application browser control is applicable only for the legacy CCA Hosted Application type of hosted control. This browser control doesn’t provide native features of Unified Service Desk such as events and toolbars.
Create or edit a hosted control
Hosted control types and action/event reference
Manage hosted controls, actions, and events
Unified Service Desk 2.0
© 2017 Microsoft. All rights reserved. Copyright