
servicenow_live
Tera Contributor
Options
- Post History
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
on 09-08-2021 01:04 AM
Modify Reference Qualifiers Using Catalog Client Script
Create onLoad/onChange catalog client script on the main catalog item.
Use the below script,
Labels:
Comments
rfairley22
Tera Contributor
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
05-26-2023
08:55 AM
Hello,
This link is not working.
Community Alums
Not applicable
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
06-23-2024
08:09 PM
this article worked for me:
How to modify Reference Qualifiers with Catalog Client Scripts – ServiceNow – ServiceNow Think (word...
and this is the onChange client script:
var resetFilter = 'active=true^nameISNOTEMPTY^emailISNOTEMPTY^EQ';
var dynamicFilter = g_form.getValue('your other text var holding encoded query').toString().trim();
var gg = g_list.get('your ref var name'); // GlideList2 object
gg.setQuery(newValue == '' ? resetFilter : dynamicFilter);