Firstly,
Checkout Record Filters
in the Advanced Development Guide.
If you are trying to use a Record Filter
on a property, you will need to enable it explicitly in Developer Studio for that property, while your Dimensions will automatically have the ability to apply a Record Filter
. This will help when you have explicit values to filter on, for example empGender
.
Your Record Filter
can then look as follow:
Nr=AND(empGender:male)
You can further use the Ntk
parameter to specify fields to search on so assuming your empName field is enabled for wildcard searching (configure this in Developer Studio) searching this field will look as follow:
Ntk=empName&Ntt=s*
So assuming your properties have been configured correctly, your example above will probably end up looking as follow:
Nr=AND(empGender:male)&Ntk=empName&Ntt=s*
To take this one step further, you can specify Search Filters
(ie. Ntk
+ Ntt
parameters) together. I haven't tried this for wildcards so you'll need to confirm that yourself but to combine Search Filters
you delimit them with |
Ntk=empName|empId&Ntt=s*|1234*
I suggest you manually build up queries in the Reference Application to confirm you get your expected results and then start to code this up in your application.