GlideNavigation - Client
-
- UpdatedJan 30, 2025
- 2 minutes to read
- Yokohama
- API reference
The GlideNavigation API provides methods to control and refresh the navigator and main frame.
These methods are accessed using the g_navigation
global object.
GlideNavigation - open(String url, String target)
Redirects to a new URL.
Name | Type | Description |
---|---|---|
url | String | The URL to load. It can be any URL supported by the browser. |
target | String | Optional. The frame in which to load the content specified by the URL.
Default: Current frame |
Type | Description |
---|---|
void |
Example
This example shows how to open the list of active incidents within an instance and display the content in the current frame.
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.
Type | Description |
---|---|
Window | Instance of the new window. |
Example
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.
GlideNavigation - openRecord(String tableName, String sys_id)
Redirects to a record. The record displays in the navigator frame.
Name | Type | Description |
---|---|---|
tableName | String | Name of the table containing the record to display. |
sys_id | String | Sys_id of the record to display. |
Type | Description |
---|---|
void |
Example
This example shows how to open a specified incident record in the navigator frame.
GlideNavigation - refreshNavigator()
Refreshes content in the navigator frame.
Name | Type | Description |
---|---|---|
None |
Type | Description |
---|---|
void |
GlideNavigation - reloadWindow()
Reloads the current frame.
Name | Type | Description |
---|---|---|
None |
Type | Description |
---|---|
void |
Example
This example shows how to refresh the content in the current frame.