---
title: GlideRecord And GlideRecordSecure Should Not Be Used In Client Side Scripts
description: "Impact Area Manageability Performance Severity High Affected Element See below **Affected element** For new instances, deprecated BPs will not appear. For existing instances, the new BPs will appear as ignored, and if enabled, their corresponding deprecated ones should be deactivated…"
url: "https://community-staging.qualityclouds.com/qcdocs/qc/servicenow-rules/gliderecord-and-gliderecordsecure-should-not-be-used-in-client-side-scripts/"
updated: "2025-03-21"
category: Rules
---

# GlideRecord And GlideRecordSecure Should Not Be Used In Client Side Scripts

Impact Area

Manageability Performance

           Severity

High

           Affected Element

See below

**Affected element**

For new instances, deprecated BPs will not appear.

For existing instances, the new BPs will appear as ignored, and if enabled, their corresponding deprecated ones should be deactivated to prevent duplicate issues.

| BP Deprecated | New BP | Affected Element |
| --- | --- | --- |
| SN-GRUPWCS    | SN-GLIDERECORD-USAGE   |  Widget |
| SN-0153   | SN-GLIDERECORD-USAGE     | UI Script |
| SN-0110        | SN-GLIDERECORD-USAGE    | Catalog Client Scripts |
| SN-0007    | SN-GLIDERECORD-USAGE  | Client Script |

## Rule ID

**SN-GLIDERECORD-USAGE**

Impact

 The client side GlideRecord/GlideRecordSecure object is often inefficient, because it returns lots of unnecessary data.

## Remediation

 Use client data as much as possible to eliminate the need for time-consuming server lookups. The top ways to get information from the server are g_scratchpad, and asynchronous GlideAjax lookup.

**Time to fix**

40 min
