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
1 comments
14:28 Dec 22, 2023
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:
- Open Configurations.
- Create a replacing view model for “ProductSelectionSchema”(Product selection schema page).
- Add the “getQuickSearchFilterConfig” method, which sets the filter columns, and specify the names of all the text columns you want to search by.
- 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.
- Save the changes and reload the product selection page (press “F5”).
Best regards,
Natalia
Show all comments