on 2019 Oct 02 12:12 PM
I defined an own widget to edit a certain attribute at category level.
In myExtension-backoffice-widgets.xml I added some widget-connections for it:
<widget-connection sourceWidgetId="editorArea" outputId="myWidgetDefinitionOutput" targetWidgetId="myWidgetID" inputId="inputObject"/>
<widget-connection sourceWidgetId="myWidgetID" outputId="objectSaved" targetWidgetId="editorArea" inputId="inputObject"/>
<widget-connection sourceWidgetId="pcmbackoffice-editorArea-area" outputId="myWidgetDefinitionOutput" targetWidgetId="myWidgetID" inputId="inputObject"/>
<widget-connection sourceWidgetId="myWidgetID" outputId="objectSaved" targetWidgetId="pcmbackoffice-editorArea-area" inputId="inputObject"/>
Within backoffice (administration) it works fine.
But unfortunately within PCM (product-cockpit), I get this error:
ERROR [hybrisHTTP14] [DefaultCockpitWidgetEngine] No output socket with id 'myWidgetDefinitionOutput' found for widget com.hybris.cockpitng.backoffice.defaultEditorArea
After debugging "DefaultCockpitWidgetEngine" it comes out, that the widget (id=
pcmbackoffice-editorArea-area) has 9 outConnections (including mine 🙂 ), but only 6 virtualOutputs (not including mine 😞 )
What could be wrong? Thanks a lot, heiko
Request clarification before answering.
I found the reason:
I forgot to extend the virtual-sockets - definition of pcmbackoffice-editorArea-area.
After adding the "myWidgetDefinitionOutput" it works.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.