Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

Glide class overview

The ServiceNow Glide classes expose JavaScript APIs that enable you to conveniently work with tables using scripts.

Using the Glide APIs, you can perform database operations without writing SQL queries, display UI pages, and define UI actions. The following tables provide brief descriptions of the Glide classes and links to detailed information.

ClassDescription
GlideRecordUse this class for database operations instead of writing SQL queries. GlideRecord is a special Java class that can be used in JavaScript exactly as if it were a native JavaScript class. A GlideRecord is an object that contains records from a single table. See GlideRecord.
GlideElementUse this class to operate on the fields of the current GlideRecord. See GlideElement.
GlideSystemUse this class to get information about the system. See GlideSystem.
GlideAggregateUse this class to perform database aggregation queries, such COUNT, SUM, MIN, MAX, and AVG, for creating customized reports or calculations in calculated fields. See GlideAggregate.
GlideDateTimeUse this class to perform date-time operations, such as date-time calculations, formatting a date-time, or converting between date-time formats. See GlideDateTime.
ClassDescription
GlideAjaxUse this class to execute server-side code from the client. See GlideAjax.
GlideDialogWindowUse this class to display a dialog window. See GlideDialogWindow.
GlideFormUse this class to customize forms. See GlideForm.
GlideList2Use this class to customize (v2) lists, including normal lists and related lists. See GlideList2.
GlideMenuUse this class to customize UI Context Menu items. See GlideMenu.
GlideUserUse this class to get session information about the current user and current user roles. See GlideUser.
  • Glide stack
    Glide is an extensible Web 2.0 development platform written in Java that facilitates rapid development of forms-based workflow applications (work orders, trouble ticketing, and project management, for example).

Parent Topic:Scripting