Forum Discussion

angela's avatar
angela
Catalyst II
1 year ago
Solved

How can I use wildcard filters for dropdowns in grid and for predefined Default Searches?

Hi community, the ItemType definition allows us to specify "Default Searches" for certain properties. I want to specify a "Default Search" that excludes a certain dropdown value when user search in...
  • angela's avatar
    angela
    1 year ago

    I think I finally found a solution to this one. Back than I did a couple of tests with the multi value list, but it didn´t work perfect. MV lists are designed to allow multiple selects, while regular drop downs just work with one selection at a time. This would have been confusing for the end user. User think they can select multiple values, but end up getting no results at all. 

    But I found the perfect solution. We can overwrite the search condition used for these kind of list properties. This actually allows pretty flexible usage of multi value lists. We can keep the default behavior for most list properties (=result needs to exactly match the selection) and at the same time use all kind of different conditions for other lists.

    I wouldn´t overuse the concept, cause it can be confusing if every multi-value list works different. But it works well if the logical context of the property it self is more or less self-explaining.