- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2023 03:22 AM - edited 10-30-2023 03:25 AM
Hi @Ankur Bawiskar!
Could you please help me understand why mine would not work?
I literally have a copy paste of the same reference qualifier from the following post but mine doesn't want to show anything... Reference Qual.
This is what I have:
javascript: 'u_site=' + current.variables.site;
and
ref_qual_elements=site
This just doesn't do anything!
Intriguingly enough, it does work when I give it an arbitrary sysid.. So I know for a fact that it is something related to how I wrote it... but then I don't know how...
What I am trying to achieve is to make the user chose a site, so that a list would update based on this site..
the site field is a lookup select box, and the one for the reference qualifier is a List collector.
Any thoughts?
Kind regards,
Darius
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2023 04:30 AM
Can you try below reference qualifier :
javascript:"u_site.sys_id=" + current.variables.site;
It's working for me ...!!
Output :
Case 1 :
Case 2 :
Case 3:
ServiceNow Developer
I know one thing, and that is that I know nothing.
- Socrates
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2023 03:24 AM
Please share screenshots of the variable configuration screenshot
Also ensure for the lookup select box the Lookup value field is set to SysId
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2023 03:26 AM
Apologies, I tried to insert code and it deleted the entire part of the question, it should be updated now.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2023 03:31 AM - edited 10-30-2023 03:32 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2023 03:56 AM
u_site on u_roles table refer to same table which is being referred by site variable?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader