Chaining pre filters with OR in domain designer

In the domain editer, normally multiple pre-filters are chained using AND (filter1 AND filter2 AND ...)

Is there a way to alter this behaviour so the pre-filters are chained using OR (filter1 OR filter2 OR ...)?

Regards

John Johnson

 

 

 

John Johnson's picture
Joined: Jul 14 2014 - 3:58am
Last seen: 2 months 3 weeks ago

1 Answer:

Yes, it is possible but you will need a bit of work. I will summaries steps below:

  • Frist create domain with all the filters that are to be applied.
  • Export the domain (server settings->export)
  • Unzip the file
  • Find schema.xml.data, you will see line such as <filterString>users.first_name == 'Will' and users.first_name == 'Jim'</filterString>
  • Replace and with or
  • zip it back and import it to JRS

Thats it! you are ready to go.

Easier way would be to add those filters in adhoc viewer. :)

HTH

 

 

 

nthapa's picture
1173
Joined: Jan 24 2014 - 9:53am
Last seen: 6 years 12 months ago
Feedback
randomness