cancel
Showing results for 
Search instead for 
Did you mean: 

New backoffice-widget, list of Products

rbespalovnc
Participant
0 Kudos

In backoffice there is a default widget displaying a Product List (+ Search, + Editor Area)

screenshot

I want to create the same widget but customize the columns in the list view, and then put it right below the "Products" menu and call this menu item "Cool products" 😉

I looked at the Customizing the Widgets Structure in the Backoffice-Based Application but it didn't make everything clear for me.

I created a new extension from ybackoffice and I know I need to modify the myextension-backoffice-widgets.xml . Now I suppose I need to extend the explorerTree widget somehow and insert a new widget into it, that should contain Advanced Search widget, Collection Browser widget, and Editor Area widget. And then I can go on and customize it. Maybe that's the wrong way, but that's how I imagine it now.

The problem is I can't find Product-related entries in the ext-backoffice's backoffice-widgets.xml and don't know what to copy to my xml. Any help even in the form of a link to help would be appreciated.

Accepted Solutions (1)

Accepted Solutions (1)

former_member625836
Active Contributor
0 Kudos

Hi ,

This is how it works:

  • *-widgets.xml file contains only a meshup: definition on how widgets are located against each other, what widgets are in play, how they should behave (widget settings defines particular widget instance behaviour, but rather from about purpose, bussiness logic, etc)

  • *-config.xml defines detailed UI configuration that may be defined differently for different types, users, roles, etc. What is also important - this configuration may be reused by different widget instances (in most cases widget has a setting that says which UI configuration should be used by this particular instance)

Hope now it is more clear to you, how to accomplish, what you need.

Cheers, Jacek

Answers (1)

Answers (1)

rbespalovnc
Participant
0 Kudos

Oh I understood my main mistake. I should've looked in myextension-backoffice-config.xml - that one contains all the data. The myextension-backoffice-widgets.xml as opposed to it contains only the widget settings