Assisted Service Reference Editor
The Assisted Service Reference Editor is used to place an Assisted Service Module deep link into the attribute qualifier in Backoffice Customer Support Cockpit.
Editor Definition
|
Editor |
Definition |
|---|---|
|
Author |
SAP Commerce Cloud |
|
Description |
The Assisted Service Reference Editor is used to place an Assisted Service Module deep link into next to a customer's order or a cart inBackoffice Customer Support Cockpit. Currently, only Cart and Order types support ASM emulation. |
|
ID |
com.hybris.cockpitng.editor.asmdeeplinkreferenceeditor |
|
Inputs |
java.lang.Object Incoming data that is set as or added to the values of the editor. |
|
Outputs |
java.lang.Object Output that is usually connected to a wizard to create a new java.lang.Object reference. |
|
Name |
Assisted Service Module Deeplink Reference Editor |
|
Type |
^Reference\((.*)\)$ Reference to any type, provided in the following format, depending on the collection type: ^Reference\((.*)\)$ |
Editor Preview
Settings
| Setting | Description |
|---|---|
| pageSize | Defines the size of a page (the number of entries that appear). |
| restrictToType | Restricts the items displayed on the selection list to a given type and its subtypes. |
| disableDisplayingDetails | Disables a double-click action on a selected item sending out the output socket referenceSelected. Default value: false. |
| isNestedObjectCreationDisabled | If set to true, it disables the option of creating a new object in an editor. |
| disableRemoveReference | Disables the remove-reference action. Default value: false. |
| createOnly | Disables selection of reference types, allowing only to create a new 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. |
| showASMPrefix | Shows the type of the item like cart or order. Default value: false. |
| 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>