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

Client API reference

Use client-side JavaScript APIs to control aspects of how ServiceNow AI Platform is displayed and functions within the web browser. This reference lists available classes and methods along with parameters, descriptions, and examples to help control the end-user experience.

  • StandaloneClientMethods
    Standalone client methods are methods that you can use within your client JavaScripts, such as reflistOpen, but aren't a part of any class or API.
  • DynamicTranslation - Client
    The DynamicTranslation API provides methods that translate text, in real time, into multiple languages using translation service providers. This API is available for both standard clients and Angular-based Service Portal clients.
  • g_service_catalog - Client
    The g_service_catalog API provides methods to access data in a multi-row variable set (MRVS) when a model is open.
  • GlideAgentWorkspace (g_aw) - Client
    The g_aw API provides methods that enable a UI action or client script to open a specified record in an Agent Workspace tab.
  • GlideAjax - Client
    The GlideAjax class enables a client script to call server-side code in a script include.
  • GlideDialogWindow - Client (deprecated)
    The GlideDialogWindow API provides methods for displaying a dialog in the current window and frame.
  • GlideDocument - Client
    The GlideDocument API provides methods to search a Document Object Model (DOM) element, a document, or a JQuery element.
  • GlideFlow - Client
    The GlideFlow API provides methods for client-side interactions with actions, flows, and subflows.
  • GlideForm (g_form) - Client
    The GlideForm API provides methods to customize forms.
  • Mobile GlideForm (g_form) - Client
    The Mobile GlideForm (g_form) API provides methods to work with forms on the mobile platform.
  • GlideGuid - Client
    The GlideGuid API provides methods to create a globally unique identifier.
  • GlideList2 (g_list) - Client
    The GlideList2 API provides methods to customize (v2) lists.
  • GlideListV3 (g_list) - Client (deprecated)
    The GlideListV3 API provides methods to manipulate lists.
  • GlideMenu (g_menu and g_item) - Client
    The GlideMenu API provides methods that can be used in UI context menus and in onShow scripts to customize UI context menu items.
  • GlideModalForm - Client
    The GlideModalForm API provides methods to display a form in a GlideModal.
  • GlideModal - Client
    The GlideModal API provides methods for displaying a content overlay, known as a modal. Modals are interactive windows that appear above a page and close when a user takes an action. You can use a modal to display information, ask questions, or perform actions.
  • GlideNavigation - Client
    The GlideNavigation API provides methods to control and refresh the navigator and main frame.
  • GlideNotification - Client
    The GlideNotification API provides methods that display messages over the page content.
  • GlideRecord - Client
    The GlideRecord API provides methods that perform database operations. This API enables the use of some GlideRecord functionality in client-side scripts, such as client scripts and UI policy scripts.
  • GlideURLV3 - Client
    The GlideURLV3 API provides methods for manipulating a URI.
  • GlideUser - Client
    The GlideUser API provides methods that access information about the current user and current user roles. Using this API avoids the need to use the slower GlideRecord queries to get user information.
  • GlideUIScripts - Client
    The GlideUIScripts API provides methods to access UI scripts from within client-side code.
  • Guided Tours - Client
    The Guided Tours API provides methods for launching and stopping guided tours.
  • i18N - Client
    The i18N API provides methods to get and format translated messages.
  • openFrameAPI - Client
    The openFrameAPI provides methods that interact with OpenFrame. OpenFrame is an omni-present frame that communication partners can use to integrate their systems into the ServiceNow platform.
  • NotifyClient - Client
    The NotifyClient API provides methods that enable you to use Notify telephony functionality, such as making and receiving calls from a web browser.
  • NotifyOnTaskClient - Client
    The NotifyOnTaskClient API provides methods for sending SMS messages or starting/managing a conference call for various telephony service providers, such as Zoom and Webex.
  • ScopedSessionDomain - Client
    The ScopedSessionDomain script include that contains client-side methods that provide functionality related to the current session domain.
  • ScriptLoader - Client
    The ScriptLoader API provides methods to load scripts asynchronously.
  • SNAnalytics - Client
    The SNAnalytics API provides methods to push custom analytics data (events, pages, and user properties) to the Usage Insights for Service Portal dashboard.
  • spAriaUtil - Client
    The spAriaUtil API provides methods to show messages on a screen reader.
  • spContextManager - Client
    Makes data from a Service Portal widget available to other applications and services in a Service Portal page. For example, pass widget data to Agent Chat when it opens in a Service Portal page.
  • spModal - Client
    Shows alerts, prompts, and confirmation dialogs in Service Portal widgets. The spModal class is available in Service Portal client scripts.
  • spUtil - Client
    The spUtil API provides utility methods to perform common functions in a Service Portal widget client script.
  • StopWatch - Client
    The StopWatch API provides methods to measure the duration of operations.

Parent Topic:API reference