UI macros

Home/Tag: UI macros

Solving the Client Script ‘Before and After’ Problem

By |2018-07-09T14:59:59-05:00June 13th, 2011|Categories: Client scripts, System UI, UI macros|Tags: , , , |

Every now and then I come across a question dealing with the order of execution for client-side code (Client Scripts and UI Policies). In my experience, the need to order client-side code is pretty rare and really only applies in a few ‘onLoad’ scenarios and even fewer ‘onChange’ scenarios. Usually, the way that a browser parses [...]

On-call Schedule Popup UI Macro

By |2018-07-09T15:00:00-05:00May 9th, 2011|Categories: UI macros|Tags: , , |

Here’s a UI macro that I’ve used for a couple of clients that allows you to pop open an on-call rotation schedule for the group selected in any ‘Group’ reference field in the system. This will probably be most useful for the ‘Assignment group’ table that you use on the task table. As with any reference [...]

Adding Referenced Records Without Leaving the Form

By |2018-07-09T15:00:00-05:00March 24th, 2011|Categories: UI macros|Tags: , , , , |

One problem I’ve seen a few times is the need to create a new record on the fly in order to populate it into a reference field. This problem recently came up for me with a client I’m working with so I decided to come up with a good solution. An example scenario would be a [...]

Lock/Unlock glide_list and URL Fields With Client Scripts

By |2018-07-09T15:00:01-05:00March 1st, 2011|Categories: Client scripts|Tags: , , , , |

I’ve answered several questions in the past about the functionality of lock icons in Service-now. Lock icons appear on glide_list and URL fields. The most-common example is the ‘Watch list’ field on the task table. Service-now provides some system properties to manage the default lock appearance of these field types. There are times when a global [...]

Direct User Impersonation From a User Record

By |2018-07-09T15:00:03-05:00December 10th, 2010|Categories: UI actions, UI macros|Tags: , , |

Every now and then I get a tip from a SNCGuru reader. This post comes courtesy of Garrett Griffin who emailed me yesterday with a cool script that his organization uses to allow admins to easily impersonate users without even having to select their name from the impersonate dialog. For those of you who don’t know [...]

Go to Top