on 06-10-2016 5:44 AM
I want to show an attribute of an object which the object is part of the Order. Ex OrderModel has consignments, and in the consignment I want to get one of its attribute. How are we going to do this in Backoffice to be displayed in the listview?
Hi Please try this:
<list:list-view xmlns:list="http://www.hybris.com/cockpitng/component/listView">
<list:column qualifier="order.code" />
<list:column qualifier="order.name" />
</list:list-view>
</context>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
you need to write a formater for this like
<context type="consignment" component="base" merge-by="type" parent="GenericItem">
<y:base xmlns:y="http://www.hybris.com/cockpit/config/hybris">
<y:labels>
<y:label>code + '-' + name</y:label>
</y:labels>
</y:base>
</context>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
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.