Reference qualifier with cilent script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2025 03:03 AM
I have cost center field (select lookup with reference to cost center table) and project category field (selectbox with manually entered values).
Cost center based on project category.
Example: scent (project category) has 3 cost center. It should only visible instead of showing the whole list.
I need reference qualifier with client script for this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2025 07:22 AM
I already informed Client script cannot apply reference qualifier, client script can only be used to show/hide or set/clear field value.
what's your relationship between the choices in Select box and the Cost Center table?
Without this how can you tell which Cost Centers to show based on Choice 1 or Choice 2 etc?
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2025 07:48 AM
Hi,
This task is new to me.
This requirement
reference qualifier of the cost center (select lookup with reference to cost center table) field should be modified based on the selection of the field: Project Category (selectbox with manually entered values)
For Example : Scent has 3 cost centers, and instead of showing the whole list, only those 3 Cost Centers must be visible.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2025 09:18 AM
without knowing the dependency, it's not possible.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2025 09:26 AM
Hi,
for example in my custom table.
cost center project category
000000093 Digital Asset
000000223 Digital Asset
00000022 scent
00000100 scent
00000102 Digital Asset
00000103 GDMO
0000004 GDMO
0000005 GDMO
0000006 scent
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2025 09:29 AM
Okay, And do you have same type of field and value in cost center table Like the above cost center values?