on ‎2018 Nov 19 7:51 PM
I am trying to view list of data in cockpit from product editor area. This is working fine. But I would like to edit/customize the content list to be displayed. So rather than rendering entire list of data I would like to filter it first based on simple condition and displaying only a sublist.
How can this be done?
Currently xml config I am using something like below in my editorArea...xml file:
This renders entire property "myList" of course. I would like to filter this before rendering.
< property qualifier="Product.myList" editor="listViewReferenceEditor" >
Request clarification before answering.
It's quite easy and it's described in documentation: https://help.hybris.com/1808/hcd/8bad002786691014924ba694583a1368.html
in section Narrowing Search Results
If you need more advanced cases, you need to use the 'avalibleValuesProvider' editor parameter for that (you can check existing usages of it in backoffice - just search for 'avalibleValuesProvider' string.
Thanks, Marcin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 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.