cancel
Showing results for 
Search instead for 
Did you mean: 

How to add an attribute of different type in advance search of back office?

sumit_rajan
Associate
Associate
0 Kudos
445

I have the requirement to add an attribute of other item type to the advance search config for Order. Can someone let me know any solutions for the same?

VinayKumarS
Active Contributor
0 Kudos

is it on backoffice or hmc??

sumit_rajan
Associate
Associate
0 Kudos

It is a backoofice change. To include the attribute in advance search.

View Entire Topic
0 Kudos

Hi sumit, here's the code sample of how this can be achieved through backoffice-config.xml files

 <context merge-by="type" parent="GenericItem" type="Order" component="advanced-search" >
          <advanced-search:field-list >
             <!-- Add the custom field here -->
             <advanced-search:field name="customerfield"  />
          </advanced-search:field-list>
     </advanced-search:advanced-search>
 </context>
sumit_rajan
Associate
Associate
0 Kudos

Hi Dhanunjay,

Thanks for the response, but the sample you have shared is to add the attribute of the same item type in advanced search, but in my case i need to add attribute of different item type . I have that itemtype added to my item type but not the attributes.

Like Order have Account Item type, and Account type is having the attribute ID. I want to use the ID attribute from account type to search my order.

Regards,

Former Member
0 Kudos

Hi were you able to get the solution for this?

Thanks, Yesra