Configuring the Hosted Application UI
To configure the UI of the hosted application, add the following XML code to the application initialization file.
<initstring>
<displayGroup>MainPanel</displayGroup>
<optimumSize x="800" y="600"/>
<minimumSize x="640" y="480"/>
</initstring>
The <displayGroup> node specifies where the hosted application will be located, and can be any of the following:
- MainPanel – adds the hosted application to lower right of the Agent Desktop.
- SessionExplorerPanel – adds the hosted application to the panel that contains the Session Explorer user control. The hosted application will appear as a tab page in the left top of the Agent Desktop, along with the Session Explorer user control.
- CurrentSessionPanel – adds the hosted application to the panel that contains the Current Session Hosted control. The hosted application will appear in the right top of the Agent Desktop.
- WorkFlowPanel – adds the hosted application to the panel that contains the Workflow user control. The hosted application will appear as a tab page in the lower left of the Agent Desktop, along with the Workflow user control.
- Floating – adds the hosted application to a new form outside the Agent Desktop. The hosted application will appear as a separate item in the task bar.
- HiddenPanel – adds the hosted application to CCF, but does not include a visual component (for example, the CTI hosted control).
The <optimumSize> node refers to the optimum size in which the application should be displayed. This determines the best size for the application when it is hosted in a container object. In the **<optimumSize>**node shown in the example, X identifies the width and Y identifies the height. (The <minimumSize> node is no longer used.)