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

How can add fields in "Reference search" Backoffice view?

Former Member
0 Likes
1,015

I need to add some fields in result of "Reference Search" view of Backoffice.

I configured my backoffice extension with the following code:

 <context type="TyMarcaVehi" component="simple-search">
     <simple-search:simple-search>
         <simple-search:field xmlns="http://www.hybris.com/cockpitng/config/simplesearch" name="pk"/>
         <simple-search:field xmlns="http://www.hybris.com/cockpitng/config/simplesearch" name="code"/>
         <simple-search:field xmlns="http://www.hybris.com/cockpitng/config/simplesearch" name="description"/>
         <simple-search:sort-field xmlns="http://www.hybris.com/cockpitng/config/simplesearch" asc="false"
                                 name="pk"/>
     </simple-search:simple-search>
 </context>

This does not work. Do you know how this can be done?

I attached more information about this. link text

Many thanks in advance, Best regards, Aldo

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Likes

Hi! the solution finally was using the following code:

 <context type="TyMarcaVehi" component="listview">
     <list-view:list-view xmlns:list-view="http://www.hybris.com/cockpitng/component/listView">
         <list-view:column spring-bean="previewListCellRenderer" />
         <list-view:column qualifier="code"/>
         <list-view:column qualifier="description"/>
     </list-view:list-view>
 </context>

I used the component "listview" instead of "simple-search".

Thanks and best regards! Aldo

Answers (0)