Posted on 06/09/2017 16:15:01
Hi Nicolai,
I would use QueryPublisher but I cannot (or don't know how to) call the query publisher in the template. i can only use it in a paragraph and in this current situation is not applicable.
What I would use is a best practice on how to build the filter (the syntax) in case of combined conditions. I would normally use parenthesis to group different conditions but it seems that in this case they are ignored.
What I need to build as filter looks something like this:
string Filter = 'Field1 = Value1 and (Field2 = Value2 Or Field2 = Value3)';
Field1=Value1 works.
Field2=Value2 Or Field2=Value3 works
Field1=Value1 and Field2=Value3 works
The only statement that does not work is the combined one.
If you can provide an example, I can go with it. I know I have asked similar things before, in other posts, but the documentation for the usage is still incomplete.
Thanks,
Adrian