Advanced Reference Qualifier not allowing OR condition?

ryanduclos
Kilo Expert

Quick question, on our assignment group reference qualifier I have the below code.

javascript: "company=" +current.company + "^active=true^typeLIKE12345^ORcompany=12345";

It's filtering everything correctly except the added OR condition of having another company hardcoded, thoughts?

1 ACCEPTED SOLUTION

Dominik H
Tera Guru

This topic helped me with my problem of using OR in refQual so let me put correct answer in case anyone else is looking for similar solution:

In above exaple OR failed because it was put in wrong order. This way it should work:
javascript: "company=" +current.company + "^ORcompany=12345^active=true^typeLIKE12345";

View solution in original post

9 REPLIES 9

Not sure that's relevant...

Dominik H
Tera Guru

This topic helped me with my problem of using OR in refQual so let me put correct answer in case anyone else is looking for similar solution:

In above exaple OR failed because it was put in wrong order. This way it should work:
javascript: "company=" +current.company + "^ORcompany=12345^active=true^typeLIKE12345";

That worked for me but what do you think is wrong with this loc : 

"u_department=" +current.variables.u_department + "^" + "u_title=+current.variables.u_title";

That worked for me but what do you think is wrong with this loc : 

"u_department=" +current.variables.u_department + "^" + "u_title=+current.variables.u_title";

try like this:

"u_department=" +current.variables.u_department + "^u_title=" +current.variables.u_title;

you put current.variables.u_title in " " so it took it like a text instead of variable