Mandatory Knowledge Search Before Ticket Creation

By | 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 | 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 [...]

Changing a Number Prefix for Existing Records

By | December 28th, 2011|Categories: Scripting|Tags: |

I had a customer ask me this morning if it was possible to change the number prefix for records in the Change Request table. Specifically, they wanted to change the prefix from the default ‘CHG’ to ‘RFC’. The answer to this question is ‘Yes’, but there are a couple of things you need to do and [...]

Customizing the dirty form alert popup

By | 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 | 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 [...]