List Collector Variables and ‘Contains’ Search

I have encountered several scenarios when someone wants to search for a value in a List Collector variable, but the default “starts with” search is insufficient. This is typically when multiple columns are visible in the List Collector (also known as a “glide_list” variable; formerly known as “slushbucket” variable, but I think we’re trying to ... Read More

Sorting Variable Choices

I have to track this down every 6 months or so. It’s time I document it here so I can forget I did so and then be impressed that I figured it out at one point reference it in the future. When a variable has choices, such as a List Collector or Lookup Select Box, ... Read More

How to Add Reference Icons to Read-Only Fields

Reference icons on read-only reference fields are globally controlled by the system property "glide.ui.reference.readonly.clickthrough". If set to "true", the icon appears on read-only fields. If set to "false", no icon appears. But... To add a reference icon to a read-only reference field, add the attribute "readonly_clickthrough=true" to the Attributes field on the fields dictionary record.

SN Utils – Summer 2023

A lot has changed since I last wrote about SN Utils, but one thing hasn’t changed: I still use the hell out of SN Utils. Here’s a rundown of my current favorite or updated features: As always, I’m incredibly grateful that SN Utils is a thing and development is still on-going. If you’d like to ... Read More

UI Policies and the Negative Case

A UI Policy is one of the easiest to build and understand artifacts in the ServiceNow universe. At its most basic level, it takes no condition and does up to three actions: makes a field shown or hidden, editable or read-only, and/or mandatory or optional. That’s it! This is obviously an over-simplified scenario. Let’s take ... Read More