Item Comments Widget
The Item Comments widget displays a list of comments related to a given item and allows the user to add new comments.
Widget Definition
| Name | Item Comments |
| ID | com.hybris.backoffice.cockpitng.widgets.itemcomments |
| Category | Data Manipulation |
| Description | The widget allows the user to add and display comments for a selected item. |
| Applied In | Backoffice |
| Based On | Not applicable |
| Author | SAP |
| Inputs | Details of input socket:
|
| Outputs | Not applicable |
| Generated Events | Not applicable |
Configuration
Not applicable.
Widget Preview

Settings
|
Setting |
Type |
Description |
|---|---|---|
|
dateFormat |
java.lang.String |
Format of a date presented in the comments list, acceptable for java.text.SimpleDateFormat. Default value: yyyy.MM.dd @ hh:mm a |
|
itemCommentsRenderer |
java.lang.String |
Custom renderer to render list of comment. Default value: itemCommentsRenderer. |
|
popupPosition |
java.lang.String |
A position where the popup with the comments list is displayed. It is one of the values from com.hybris.backoffice.widgets.itemcomments.PopupPosition.. |
Adding comments to an item is possible because of the following settings:
|
Setting |
Type |
Description |
|---|---|---|
|
domainCode |
java.lang.String |
Default value: backofficeDomain. |
|
componentCode |
java.lang.String |
Default value: administrationArea. |
|
commentTypeCode |
java.lang.String |
Default value: backofficeComment |
To know more details about adding comments to an item, please, see the comments Extension document.
Widget Slots
| slotID | Multiplicity | Type | Slots Composition |
|---|---|---|---|
| cockpitWidgetChildrenInvisible | multi | Not applicable | A general-purpose slot available for widgets. Any widget placed on this slot is not displayed in the application view but can be accessed through its socket API. |