Question

customizing search in Order product selection

Hello, 

 

I would like to customize the search in the order product selection. 

At the moment, I can only search by the product name or code, and I would like to search by a different factor. Is there a way to do this?

 

Best, 

Nur

Like 0

Like

1 comments

Hello Nur!

There is a possibility to customize the search by any column of the Product object with a text value.

You can implement that in the following way:

  1. Open Configurations.
  2. Create a replacing view model for “ProductSelectionSchema”(Product selection schema page).
  3. Add the “getQuickSearchFilterConfig” method, which sets the filter columns, and specify the names of all the text columns you want to search by.
  4. Change the value of “SearchStringPlaceHolder” in the localizable strings to the corresponding one (optional). This value would be displayed in the search box as a placeholder.
  5. Save the changes and reload the product selection page (press “F5”).

Best regards,

Natalia

Show all comments