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

GlideNavigation- Client

The GlideNavigation API provides methods to control and refresh the navigator and main frame.

These methods are accessed using the g_navigation global object.

Parent Topic:Client API reference

GlideNavigation - open(String url, String target)

Redirects to a new URL.

NameTypeDescription
urlStringThe URL to load. It can be any URL supported by the browser.
targetStringOptional. The frame in which to load the content specified by the URL. Default: Current frame
TypeDescription
void 

This example shows how to open the list of active incidents within an instance and display the content in the current frame.

g_navigation.open('incident_list.do?sysparm_query=active=true');

GlideNavigation - openPopup(String url, String name, String features, Boolean noStack)

Opens the specified URL in a popup window.

The features parameter is part of the DOM specification and is passed through. For more information on the available feature list, refer to the Mozilla Developer Network.

NameTypeDescription
urlStringURL to open.
nameStringWindow name.
featuresStringComma separated list of features for the popup window.
noStackBooleanFlag that indicates whether to append `sysparm_stack=no` to the URL. This parameter helps prevent unexpected behavior when using the form back button.Valid values: - true: Append `sysparm_stack=no` to the URL. - false: Do not append `sysparm_stack=no` to the URL.
TypeDescription
WindowInstance of the new window.

This example shows how to open the list of active incidents within a popup window called "Active Incidents", and enable the resizable, scrollbars, and status features on the window.

g_navigation.openPopup('incident_list.do?sysparm_query=active=true', 'Active Incidents', 'resizable,scrollbars,status', true);

GlideNavigation - openRecord(String tableName, String sys_id)

Redirects to a record. The record displays in the navigator frame.

NameTypeDescription
tableNameStringName of the table containing the record to display.
sys_idStringSys_id of the record to display.
TypeDescription
void 

This example shows how to open a specified incident record in the navigator frame.

g_navigation.openRecord('incident', '4e49c0e81bf198101363ff37dc4bcb8a');

GlideNavigation - refreshNavigator()

Refreshes content in the navigator frame.

NameTypeDescription
None  
TypeDescription
void 

This example shows how to refresh the content in the navigator frame.

g_navigation.refreshNavigator();

GlideNavigation - reloadWindow()

Reloads the current frame.

NameTypeDescription
None  
TypeDescription
void 

This example shows how to refresh the content in the current frame.

g_navigation.reloadWindow();