Client scripts

//Client scripts

Mandatory Knowledge Search Before Ticket Creation

By | 2018-07-09T14:59:54-06:00 May 14th, 2012|Categories: Client scripts, UI macros|Tags: , , |

Greetings from Knowledge12 in New Orleans! I’ll be here all week with CrossFuze Solutions so if you’re here and see me, please introduce yourself. I’m looking forward to putting a face to all of the names of people I’ve worked with remotely. I’m working with a client currently who wants to encourage the use of their [...]

Change Form Header Background Color

By | 2018-07-09T14:59:55-06:00 January 11th, 2012|Categories: Client scripts|Tags: |

Just a quick scripting tip today based on a solution that I helped someone with on the ServiceNow community site. The request I received was to be able to change the form header background color based on changes to values in a record. You’re probably aware that ServiceNow provides a global CSS property to set the [...]

Customizing the dirty form alert popup

By | 2018-07-09T14:59:55-06:00 December 14th, 2011|Categories: Client scripts, System UI|Tags: , , |

I had a colleague come to me recently for help on a client issue. The customer wanted two things; the first was to set up the capability to warn users when they were navigating away from a modified form without saving it, but to do this only on selected forms rather than globally. The second was [...]

Attach an event listener to a related list button

By | 2018-07-09T14:59:55-06:00 December 1st, 2011|Categories: Client scripts|Tags: , , |

Recently a colleague asked me for assistance with a customer request. The requirement was to pop up an information or alert message when a user clicked the ‘Edit’ button on the ‘Affected CIs’ related list. The alert message would give them some information or a warning, allow the user to confirm, and then continue on to [...]