---
sourceDocument: Brazil ServiceNow AI Platform user interface
sourceDocumentLink: https://www.servicenow.com/docs/r/platform-user-interface

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil ServiceNow AI Platform user interface

ft:clusterId :

    - platux

bundleId :

    - platux

workflow :

    - Platform


---

# Client side scripting global variables

# Next Experience client-side scripting global variables {#ariaid-title1}

Release version: Brazil  
Updated September 10, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read  
Next Experience global variables are used in client scripts to determine whether
Next Experience is applied to a page.

NOW.isUsingPolaris
:   Returns true if Next Experience is applied to the
    current page.

NOW.isPolarisWrapper
:   Returns true if the page is running in the Next Experience
    Unified Navigation. This global variable exists only in the Unified Navigation.

    For more information about the Unified Navigation,
see [Next Experience Unified Navigation](https://www.servicenow.com/docs/va4J7G26GpugKOEpbBdV_w "The Next Experience Unified Navigation provides controls for navigating your instance, accessing records and data, checking notifications, and setting your preferences.").  
Client script:

    // Reload the current page in the unified navigator if not currently in the unified nav
    if (NOW.isUsingPolaris && (!top.NOW || top.NOW.isPolarisWrapper !== "true")) {
        var currentPath = window.location.pathname + window.location.search;
        top.window.location.href = "/now/nav/ui/classic/params/target/" + encodeURIComponent(currentPath)
    }

**Related topics**   

* [PolarisUI API - Scoped](https://www.servicenow.com/docs/access?context=PolarisUIScopedAPI&version=brazil&pubname=brazil-api-reference&ft:locale=en-US)

