- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2019 12:27 PM
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?
Solved! Go to Solution.
- Labels:
-
Best Practices
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2020 09:25 AM
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";
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2019 12:49 PM
Not sure that's relevant...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2020 09:25 AM
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";
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2020 10:52 AM
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";
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2020 10:52 AM
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";
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2020 11:03 AM
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