Editar

Compartilhar via


UII hosted applications in Unified Service Desk

A User Interface Integration (UII) hosted application is a line-of-business application or component whose user interface is hosted in the shell application. A hosted application can either be an existing application developed with no awareness of UII or an application or component (hosted control) developed specifically for UII. The Application Integration Framework (AIF) exposes classes and interfaces that enable you to develop hosted applications that support different scenarios.

The IHostedApplication interface defines a String) method, which enables the application to respond to an action. In the String) method implementation, you can use a switch statement to decide which code to execute, based on the name of the action received through the AIF.

Types of UII hosted application

The UII hosted application can be of the following types:

  • Hosted controls: These are user controls that are built specifically for UII to be hosted in Unified Service Desk. These hosted controls are different from the predefined Unified Service Desk hosted controls; the UII hosted controls are derived from the HostedControl class whereas the Unified Service Desk hosted controls are derived from the DynamicsBaseHostedControl class. More information: Use UII hosted controls with Unified Service Desk

  • Web hosted application: This can be web applications, Microsoft Silverlight applications on a webpage, or Java applets, which are usually hosted in Internet Explorer.

  • External hosted application: This includes MicrosoftWin32 applications, .NET Windows Forms applications, Windows Presentation Foundation (WPF) applications, Java applications, and other applications that don’t run in the context of the browser, but are executable files.

  • Remote hosted application: These are Citrix hosted applications. This application type provides the channel of communication to an executable file installed on the Citrix server. The executable file loads an adapter appropriate for the type of application being hosted in the Citrix environment. More information: Integrate with Citrix applications

Global and session UII hosted applications

A global hosted application is instantiated when the desktop starts, and is usually closed when the desktop is terminated. There is only a single instance for each global hosted application during the lifetime of the desktop process. Session hosted applications are instantiated when a session is created, and are closed when the session ends.

Dynamic UII hosted applications

The life cycle of a dynamic hosted application can be controlled by the agent or through code. Dynamic hosted applications can be either global or session scoped. A session-scoped dynamic hosted application will be terminated at the end of the session if it hasn’t been closed by the agent or through code.

Workflow-dependent UII hosted applications

The instancing model of global and session hosted applications can be further refined by marking them as workflow-dependent hosted applications. A global workflow-dependent hosted application is available to the agent only when the workflow that it’s dependent on is active. The application is first instantiated when the workflow runs the first time, but it keeps running after the workflow completes. Workflow-dependent session hosted applications are only instantiated when the workflow that they are dependent on starts. When the agent closes the workflow, workflow-dependent session hosted applications close.

See also

Application Integration Framework
UII application adapters
Create and manage UII hosted applications