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

custom attributes for an item not coming up in backoffice

imsanjayrawat
Explorer
0 Kudos
490

HI,

i am working on migration of hmc to backoffice. i have extended B2Bcustomer model to add new attribues .These were coming up as searchable fields in hmc under attributes which is can select and do a search but this is not coming up as part of backoffice . Do i specifically need to include them in custombackoffice-config.xml. This is the same for all custom types after we moved to backoffice.

is there any way all these atribues come up searchable in backofice like in hmc.

Accepted Solutions (0)

Answers (1)

Answers (1)

Marko_salonen
Contributor
0 Kudos

Hi,

yes you need to add these to the advanced-search component, something like this in you backoffice-config.xml

 enter code here<context parent="AbstractOrder" type="Order" component="advanced-search" merge-by="type">
         <advanced-search:advanced-search>
             <advanced-search:field-list>
                 <advanced-search:field name="someattribute"/>
                 <advanced-search:field name="otherattribute"/>
                 <advanced-search:field name="thirdattribute"/>
             </advanced-search:field-list>
         </advanced-search:advanced-search>
     </context>
imsanjayrawat
Explorer
0 Kudos

thanks marko.

i did the same. but i was checking if there is way to get all the attributes defines in items.xmls for an item just likeit is in HMC instead of explicitly specifiying in backoffice-config.xml

Marko_salonen
Contributor
0 Kudos

As i know it, no 😞