Unified Service Desk for Microsoft Dynamics 365 uses panels to display hosted controls of various types. Various predefined panel types are available in Unified Service Desk to support a variety of layout options such as tabbed layout, deck layout, and stacked layout. You define the arrangement of these panels on the main screen of Unified Service Desk using a Panel Layout hosted control. More information: Panel Layout (Hosted Control)
In This Section
Panels in Unified Service Desk
Panel types in Unified Service Desk
Panel layouts in Unified Service Desk
Panels in Unified Service Desk
Whenever you create a hosted control, you have to specify the panel that will hold it in the Display Group field of the New Hosted Control page. For most of the hosted control types, Unified Service Desk automatically populates a panel value in the Display Group field. For example, MainPanel is used for a CRM Page type of hosted control and ToolbarPanel is used for the Toolbar Container type of hosted control.
The following predefined panels are available in Unified Service Desk.
Panel
Description
MainPanel
The main work area in the bottom right.
ChatPanel
The typical location of the chat window. It is under the agent scripting control.
HiddenPanel
A nonvisible panel generally used for component without a user interface (UI).
LeftPanel1
A panel just under the WorkflowPanel on the left.
LeftPanel2
A panel just under the LeftPanel1 on the left.
LeftPanelFill
A panel just under the LeftPanel2. This panel expands to fill the rest of the area available to the bottom edge of the left panel.
RightPanel
A panel located on the right side.
CtiPanel *
A panel located in the top right, it is the default location for softphone controls. This is a stack panel so more than one control can be added and will show up next to each other.
SessionExplorerPanel *
A panel located just under the session tabs where you typically display the session lines.
WorkflowPanel *
A panel located just under the SessionExplorerPanel and usually contains the agent scripting control.
ToolbarPanel *
A panel at the very top just to the right of the Unified Service Desk logo, and typically holds the Toolbar.
RibbonPanel
For internal use only.
StatusPanel *
A special panel located on the status bar at the bottom of the application.
* These panels are generally reserved for special purposes so use of these should be avoided unless required.
With Unified Service Desk 2.2.1 or later, you can also assign keyboard shortcuts to panels so that customer service agents can directly access the panel in the client application by just using the keyboard. More information: Keyboard shortcuts for panels
Panel types in Unified Service Desk
Unified Service Desk provides the following predefined panel types to support a variety of layout options:
Panel Type
Description
USDTabPanel
This panel type contains a tab control. Each hosted control is loaded on one of the tabs. The tab name displays the value specified in the Display Name filed of a hosted control. If no display name is specified for a hosted control, the hosted control name is displayed as the tab name. The tab control/header is displayed for this panel type if one or more hosted controls are on it.
USDStackPanel
This panel type stacks hosted controls in a horizontal or vertical fashion similar to a stack panel in Windows Presentation Foundation (WPF). These can be useful for toolbars or status bars, etc. This panel type is derived from StackPanel, which supports an Orientation property. This orientation should be defined in the XAML to define which way the hosted controls should be stacked.
USDDeckTabPanel
If a single hosted control is on this panel, the tabs are not shown. The tabs for a tab control are shown if two or more controls reside on this panel.
Note
This control is the same as the USDTabPanel but a style exists in the default themes that will hide the tabs at the top, when only one control is loaded.
USDCollapsePanel
This is the same as the USDTabPanel but a style in the default themes is defined that will automatically collapse this panel type so it no longer takes up space in the UI, if no hosted controls are loaded within it.
USDFloatingPanel
The default desktop provides an instance of this panel type. When “FloatingPanel” is specified for a hosted control, this panel type is being used. Typically you would not specify this panel type in your custom layout, however, it is exposed in case there is a reason to use it.
USDFloatingToolPanel
This panel type creates a tool window for each hosted control loaded into it. The default desktop provides an instance of this panel type. When “FloatingToolPanel” is specified for a hosted control, this panel type is being used. Typically you would not specify this panel type in your custom layout, however, it is exposed in case there is a reason to use it.
USDPopUpPanel
This panel type enables the content in the hosted control to hover over the main view.
You can also use these predefined panel types to create a custom panel type in Unified Service Desk. More information: Create a custom panel type
Panel layouts in Unified Service Desk
Use a panel layout to define the arrangement of panels on the screen in the Unified Service Desk client. A panel layout is defined using a Panel Layout hosted control. More information: Panel Layout (Hosted Control)
The following layout depicts the Standard Main Panel type of panel layout (also called standard panel layout) in Unified Service Desk.
Note
If you do not create any panel layout in your Unified Service Desk configuration, the standard panel layout is used automatically to display panels and controls in the client application.
The full application area on the main window is defined as a panel itself, and is called MainWorkArea.While defining XAML or User-Defined type of panel layout, MainWorkArea is used as the panel value for the Display Group field.
Because panel layouts are hosted controls, you may use a panel layout anywhere you would have configured a hosted control. One common use for this is to define a split view in the main panel area. You might display a list view showing a list of accounts at the top and a detail view at the bottom. You might display a whole panel layout in the floating panel and show it on a second monitor. For more information about the usage of floating panes, see Configure the pop-in and pop-out feature for knowledge base articles.
Unified Service Desk provides the following types of panel layouts:
Panel layout
Description
Standard Main Panel
The standard panel layout provides the traditional layout including a series of panels on the left, collapsible area and a main work area on the right. The following is the XAML used to define the panel layout. You can also find this XAML in the User Interface Integration (UII) SDK. Download the package, and extract it to view the SamplePanelLayout.xaml file under the "UII\USD Developer Assets\USD Layout and Style Sheet" directory.
This is a special layout typically used within the MainPanel as a hosted control. It contains a splitter with a top panel and a bottom panel. It is typically used to display a list view at top and a detail view at the bottom similar to Outlook. Two panels are defined in this layout.
Panel Name
Description
TopPanel
This is the panel that displays on top. It is defined as:
USDDeckTabPanel
BottomPanel
This is the panel that displays on bottom. It is defined as:
USDDeckTabPanel
This panel supports the following actions:
Action
Description
SetTopPanelHeight
This action can be used to set the top panel height. It supports two parameters, height and type.
Type can be any of the following values:
Auto: sized to fix components inside
Pixel: the number of pixels
Star: takes the remaining space
The interpretation of the height parameter depends on this type value. For more information, see the Windows Presentation Foundation (WPF) documentation.
SetBottomPanelHeight
This action can be used to set the bottom panel height. It supports two parameters, height and type.
Type can be any of the following values:
Auto: sized to fix components inside
Pixel: the number of pixels
Star: takes the remaining space
The interpretation of the height parameter depends on this type value. For more information, see the WPF documentation.
Vertical Split
This is a special layout that contains a vertical splitter with a left panel and a right panel.
Panel Name
Description
LeftPanel
This is the panel that displays on left. It is defined as:
USDDeckTabPanel
RightPanel
This is the panel that displays on right. It is defined as:
USDDeckTabPanel
This panel supports the following actions:
Action
Description
SetLeftPanelWidth
This action can be used to set the left panel width. It supports two parameters, width and type.
Type can be any of the following values:
Auto: sized to fix components inside
Pixel: the number of pixels
Star: takes the remaining space
The interpretation of the width parameter depends on this type value. For more information, see the WPF documentation.
SetRightPanelWidth
This action can be used to set the right panel width. It supports two parameters, width and type.
Type can be any of the following values:
Auto: sized to fix components inside
Pixel: the number of pixels
Star: takes the remaining space
The interpretation of the width parameter depends on this type value. See the WPF documentation for more details.
XAML
One of the quickest ways to create a custom layout. However, this option does not support code-behind. As a result, if you can’t describe your layout without code, you can’t use this option and should instead use the User Defined option. For more information, see Code-Behind and XAML in WPF.