
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2017 07:17 AM
Trying to write a Client Script (onLoad) for a table list view is not working. How can this be done?
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2017 07:22 AM
Hi David,
onLoad client scripts only run when the form is loaded, not in a list. The only type of client script that applies to a list is onCellEdit.
http://wiki.servicenow.com/index.php?title=Client_Scripts
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2017 11:34 AM
How to display the Fruit and color on service catalog???
1. Fruits will be available on u_fruit table
F_ID F_Name
1 Orange
2 Berry
2. Colors will be available on u_color table
F_ID COLOR
1 Orange
2 RED
My requirement here is display fruits and colors as below
1. Orange Orange/RED < Drop down list>
2. Berry Orange/RED <Drop down list>
User will select the correct color of fruit and if he selects any color as wrong then I need to send notification.
Please provide/suggest me to achieve this functionality.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2017 08:08 AM
I like fruit, it's true... guilty. I'm not a fan of unrelated (completely off-topic) random posts, as fruity as it sounds. Here's a juicy one though.. I can't seem to figure out how to replace the backup rear passenger-side taillight of my Jeep Grand Cherokee (2002). It's like trying to get the seeds out of a watermelon. My attempts have not been fruitful, and I'm literally going bananas! Any insight would be greatly appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2024 11:20 PM
Hi @xiaix ,
Thank you for the script. Could you please let me know where the script can be used? Like in a client script or in a UI script, etc..
I also have the same requirement but I am stuck with no solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2024 11:19 PM - edited 09-04-2024 11:19 PM
Hi @xiaix ,
Thank you for the script. Could you please let me know where the script can be used? Like in a client script or in a UI script, etc..
I also have the same requirement but I am stuck with no solution