GlideRecord Usage On Client Scripts

< 1 min read

Impact Area

Performance

 

Severity

High

 

Affected Element

Client Scripts

Widget Angular Provider

Rule ID #

SN-0007

Impact #

The client side GlideRecord object is often inefficient, because it returns lots of unnecessary data. GlideRecord and g_form.getReference are both involved.

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

Updated on March 21, 2025
Was it helpful ?