Assisted Service List Editor
The Assisted Service List Editor allows Customer Support agents to start ASM emulation directly from the Orders and Returns views of Backoffice Customer Support Cockpit.
SAP Commerce CloudEditor Definition
|
Name |
Assisted Service List Editor |
|
ID |
com.hybris.cockpitng.editor.asmdeeplinkeditor |
|
Description |
This editor provides the functionality of starting ASM emulation directly from the Customer Support Cockpit by clicking on an icon.
|
|
Type |
|
|
Author |
SAP Commerce Cloud |
|
Editor Class Name |
de.hybris.platform.customersupportbackoffice.editor.AssistedServiceListEditorRenderer |
|
Inputs |
Not applicable. |
|
Outputs |
Not applicable. |
Editor Preview
Settings
You can configure the editor using the custom-attributes element in the ZUL file of your widget. The following attributes are supported:
| Setting | Description |
|---|---|
| pageSize | Defines the size of a page. |
| restrictToType | Restricts the items displayed on the selection list to a given type and its subtypes. |
| disableDisplayingDetails | Disables showing Edit details item in the row menu. Default value: false. |
| listConfigContext | Defines the component name used for context lookup. |
| selectedItemsMaxSize | Specifies the maximum number of rows in the selected items list. If there are more selected items in the collection, a vertical scroll bar is displayed. If not specified, cockpit property multi.reference.editor.selected.items.max.size is taken into account. If that is also not specified, default view port size is set to 5. |
| renderOnDemandSize | Specifies the number of items rendered when the selected item list first renders ( org.zkoss.zul.listbox.initRodSize ). If not specified, cockpit property multi.reference.editor.render.on.demand.size is taken into account. If that is also not specified, default initial rod size is set to 50. |
| isNestedObjectCreationDisabled | If set to true, it disables the option of creating an object in an editor. |
| availableValuesProvider | Id of a bean that provides the available values for the editor. The bean implements the ReferenceEditorSearchFacade interface. Inside the bean, you can, for example, modify the search conditions and pass them to the original referenceEditorSearchFacade bean, or even use different data source (for example, predefined set of values). |
| inlineEditing | Allows for inline editing of the displayed values. Default value: false. See also the Inline Editing section. |
| disableRemoveReference | Disables the remove-reference action. Default value: false. |
| createOnly | Disables selection of reference types, allowing only to create a reference. Default value: false. |
| referenceAdvancedSearchEnabled | When the setting is enabled, clicking on the search icon in reference editor results in socket output on referenceSearchCtx. In the default mashup, it shows Reference Advanced Search Widget. Default value: true. Type: Boolean. |
| menuColumnIndex | It determines an index of a column that stores three dots menu icon. You can choose one of the predefined values: first or last. Default value: first. Type: Enum. |
| placeholderKey | It defines the value of the placeholder. |
| labelProviderBean | It defines the customized bean id of the label provider. |
| forwardURL | Appends additional pages like My Account of the customer in the storefront. |
| isSimpleSelectEnabled | Enables the simple item selection of the editor. Default value: false. |
In the ZULfile of your widget, add an editor with a definition similar to the following example:
widgetid.zul
<editor id="multiReferenceEditor" type="MultiReference-LIST(Product)"> <custom-attributes pageSize="5" /> </editor>
