Forum Discussion

michelle's avatar
michelle
Creator II
8 years ago

Setting Default Searh

Hi In Property I setting default search =>Active|Pending. I want to search states Active or Pending But  simple search criterion show =>Active\|Pending I don't know why auto add  "\"

3 Replies

  • "|" is a reserved character. It´s automatically escaped with "\". So "\|" is equal to "|". But unfortunately this one doesn´t work in the Default search property. While \*|* would work as search property, it doesn´t seem to be possible to set these value right now. (At least I wasn´t able to do it in the past.) Take a look at this similiar question: http://community.aras.com/fr/forums/topic/using-pipe-in-custom-filter-built-using-onsearchdialog-event/
  • One idea that may work: Instead of searching for parameters you want to see, you can also search for parameters, that you don´t want to see: Example: *[^Closed]* -> Searches for items that are not Closed.