cancel
Showing results for 
Search instead for 
Did you mean: 

Backoffice systembar customization (add new button to systembar)

0 Kudos
480

I need to add new button to the system bar in backoffice, in this position:

some ideas?

I now how to create the button but I don't now how to attach it to the system bar, I have the idea but I can't override the OOTB configuration:

<widget id="systemBar" widgetDefinitionId="com.hybris.cockpitng.widgets.common.systembar" slotId="headerArea"
template="false">
<widget id="systemBar" widgetDefinitionId="com.hybris.cockpitng.widgets.common.systembar" slotId="headerArea"
template="false">

<widget id="newButtonId"
widgetDefinitionId="com.hybris.backoffice.widgets.newButtonId" slotId="indicators"
template="false">
</widget>
</widget>
</widget>
View Entire Topic
former_member506
Participant
0 Kudos

Hello,

You have to create a new widget under /backoffice/resources/widgets in one of backoffice extensions and write a ZUL file and related definitions as needed.
Include <toolbarbutton /> in Zul file so it should appear in system bar. and then customize on top.

<toolbarbutton id="changePasswordBtn" popup="changePasswordPopup, position=after_start" image="${wr}/images/icon_systembar_forgetpassword.png"/>
0 Kudos

Thanks for commenting, Pavankumar, but I already have my button created correctly, it just doesn't show up at the top, I don't know how to overwrite the OOTB so that the new button is added to the system bar.

any idea how to do?