cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

widget available within editorarea of backoffice, but not from pcm-editorarea

Former Member
0 Likes
825

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Likes

I found the reason:

I forgot to extend the virtual-sockets - definition of pcmbackoffice-editorArea-area.

After adding the "myWidgetDefinitionOutput" it works.

Answers (0)