Chaining pre filters with OR in domain designer

0

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.mail1's picture
Joined: Jul 14 2014 - 3:58am
Last seen: 2 years 6 months ago

1 Answer:

1

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
463
Joined: Jan 24 2014 - 9:53am
Last seen: 3 years 6 months ago
Feedback
randomness