- /
-
- Docs /
- GlideNavigation
GlideNavigation
A list of all the field attributes that could be found here on the docs.
Last modified 2025-06-20
Jace Benson
Table of content
Provides methods to control and refresh the navigator and main frame.
The GlideNavigation methods are accessed using the g_navigation global object.
open
Redirects to another URL. : URL to be loaded. It can be any URL supported by the browser : is the target frame. If left blank, the URL will load in the current frame
g_navigation.open(url.getURL(), 'edit_form_design');
nowapi.g_navigation.open(query+subQuery);
openPopup
Open a popup window with features : The url to open : The name of the new window : is a comma separated list of features. See https://developer.mozilla.org/en-US/docs/Web/API/Window/open : True to append sysparm_stack=no to the url. This prevents weirdness when using the form back button the instance of newly opened Window |
openRecord
Redirects to a record
g_navigation.openRecord(gr);
refreshNavigator
Refresh the navigator contents
g_navigation.refreshNavigator();
reloadWindow
Reload the current frame
if (window.g_form)
g_navigation.reloadWindow();
getURL
//Type appropriate comment here, and begin script below
if (g_navigation.getURL().indexOf("sysparm_close_on_success=true") > -1) {
var form = g_form.getFormElement();
}