Advanced Reference Qualifier Based-On Current Variable
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-22-2018 08:45 AM
Need help setting-up an advanced reference qualifier that uses the 'u_term_code' field from the *Term drop-down as a dependency and returns a list of courses that share the value.
javascript: u_term_code = current.variables.u_term_code;
Above, is the code I currently have.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-31-2018 07:28 AM
No such luck. I even tried setting 'javascript: course = new GlideRecord('u_bsu_terms'); course.get(gs.getReference()); course.u_term_code;' as the Default value, with no luck.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-11-2018 10:54 AM
Thanks! this help me a lot! it works.. only one question...
If I need to add some information to my query:
This is working
javascript:'category='+current.variables.u_category;
But when I do this:
it doesn't work... why?
javascript:'category='+current.variables.u_category^u_delete=false^u_stateLIKELive^EQ;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-11-2018 11:02 AM
You are basically creating a string of an encoded query. So starting with "javascript" is telling the server to evaluate the string following so that you can dynamically set values such as your current.variables.u_category. But then you want to add some additional parts to the query. That is a string so you need to do this:
javascript:'category='+current.variables.u_category + '^u_delete=false^u_stateLIKELive^EQ';

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-11-2018 11:07 AM
javascript:'category='+current.variables.u_category+'^u_delete=false^u_stateLIKELive^EQ';
Please mark this response as correct or helpful if it assisted you with your question.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-29-2018 07:38 PM
Hi Jason,
is there any relation with dropdown and reference field.
are they storing in sys_user table?