Hi,
I have a domino view where the first column is categorized and sorted. In my custom control I would like to use the view as a data source filtered on these categories.
Is it possible to specify category X OR category Y?
I have tried using categoryFilter, but it seems like it can only take a single value? I have also tried filtering on keys with a Vector, but cannot get it to work with more than one element in the Vector. Does the key filter “AND” or “OR” the elements in the Vector?
Does anyone know how I can adjust my domino view data source (or the domino view itself) to be able to get category A OR category B?
Subject: Filtering with a vector should work with text strings, though I’m not sure about using operators AND & OR
Subject: Using a script for the filtering?
I have not been able to find a way to OR categories in the data source filter.
I have re-designed my domino view slightly, and the former categories are now a standard multivalue-field.
I have created a server side javascript which will iterate through the items in the view and filter on the wanted values in these multivalue fields. The javascript function is called from the custom control with a parameter with the wanted categories. The function returns a vector with NotesViewEntries. This vector is used as input for a repeater which prints out the wanted markup for each entry.
I have not been able to check the performance in detail yet, but it does not seem like this is a time-consuming way of doing it.