GlideRecordSecure should not be used in client side scripts

Impact area

Performance

Severity

high

high

Affected element

Widget

Ui Script

Catalog Client Scripts

Client Scripts

 

Rule ID

SN-GLIDERECORD-USAGE

Impact

 The client side 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




Last modified on Jan 18, 2024