Session Context Widget
The Session Context widget displays customer-support related information, making it easily accesible to the customer support agent with just one click. When the agent selects a ticket, all items related to this ticket (e.g. customer and order) are displayed in the session context widget allowing the agent to navigate between the customer, order or ticket details pages.
Widget Definition
|
Name |
Session Context |
|
ID |
com.hybris.cockpitng.sessionContext |
|
Category |
Preview |
|
Description |
The Session Context widget displays customer-support related information, making it easily accesible to the customer support agent with just one click (Customer, Ticket and Order information only). |
|
Applied In |
Not applicable. |
|
Based On |
Not applicable. |
|
Author |
SAP |
|
Inputs |
Details of input sockets:
|
|
Outputs |
Details of output sockets:
|
|
Generated Events |
Not applicable. |
Configuration
No custom configuration applies to this widget.
Widget Preview
Settings
No custom settings configuration applies to this widget.
Functionality
The Launch ASM Button
This widget contains a site drop-down allowing the customer support agent to select one of the available storefronts. If a selected ticket has an order or an actual order is selected, the dropdown is disabled. Clicking the Launch ASM button allows the customer support agent to start emulating the order or the cart of the customer directly from the widget.
Order and Cart Information
The Session Context Widget also stores the information about the customer and their order and cart. This information is used to populate the customer ID during the creation of a new support ticket. For more information about creating a new support ticket, see the Creating a New Ticket document.
The Start Call Button
This is a placeholder button.
The Session Timer
The session timer counts the elapsed time since any of the fields in the Session Context widget were populated. The timer is reset on every action which changes the data visible in the widget.
The End Session Button
-
Customer
-
Order
-
Ticket
-
A ticket is selected from the ticket list and customer has been changed.
-
A customer is selected from the customer list
-
An order is selected from the order list and customer has been changed
Widget Slots
|
slotID |
Multiplicity | Type |
Slots Composition |
|
|---|---|---|---|---|
| cockpitWidgetChildrenInvisible | multi | Not applicable. | This is a general purpose slot available for the widgets. Any widget placed on this slot is not displayed in the application view but can be accessed through its socket API. | |
| headerArea | single | Not applicable | Top section of the widget layout within limited height therefore mainly used to display the widgets with a horizontal layout. | |