GlideUICompatibility - Scoped

concept australia Updated Sep 10, 2026 1 min read c_GlideUICompatibilityScopedAPI.md
Raw file servicenow.com

The GlideUICompatibility API provides the ability for scoped applications to define their own minimum browser versions. This is done by creating system properties for the scoped application.

You create the properties using the sys_properties list and assign a version number. When you do this from the scoped application, the <scope-name> prefix is automatically added to the property name. The scoped application UI compatibility properties are:

  • <scope-name>.ui.ie_minimum
  • <scope-name>.ui.chrome_minimum
  • <scope-name>.ui.firefox_minimum
  • <scope-name>.ui.safari_major_version_minimum

You can then use the GlideUICompatibility class to determine if the current browser is supported.

Parent Topic:Server API reference

GlideUICompatibility - GlideUICompatibility(String scopeName)

Creates a GlideUICompatibility object.

Name Type Description
scopeName String Application's scope name.

GlideUICompatibility - getCompatibility()

Returns the terms "block" or "allow" based upon the browser version.

Name Type Description
None
Type Description
String Either blockor allow.
JavaScript
UICompatibility = new GlideUICompatibility(gs.getCurrentScopeName());var blockOrAllow = UICompatibility.getCompatibility();gs.info(blockOrAllow);

Output:

Text
allow

GlideUICompatibility - isBlocked()

Determines if the browser is not supported (blocked).

Name Type Description
None

Type

Description

Boolean

Flag that indicates whether the browser is blocked.Possible values:

  • true: Browser is blocked.
  • false: Browser is valid and not blocked.
``` UICompatibility = new GlideUICompatibility(gs.getCurrentScopeName()); var blocked = UICompatibility.isBlocked(); gs.info(blocked); ```

Output:

Text
false
Search documentation
Search document titles and file paths on the australia branch