Property reference

glide.script.enforce_scope_checks_on_get_ref_record

The glide.script.enforce_scope_checks_on_get_ref_record property determines if cross-scope access checks are enforced for the getRefRecord() function in JavaScript. Admins should care about this setting to ensure data security and prevent unauthorized access to reference fields.

Default
true
Type
boolean
Application
Global

Key questions about this property

The answers below summarize the purpose, scope, default effect, and review scenarios for this property.

What does it do? This property enforces or bypasses access checks when retrieving reference records across different scopes in JavaScript.
What area does it affect? JavaScript Reference Fields
What does the default mean? The default value is "true", which means this behavior is enabled by default.
When should you review it? Review this property when configuring security settings or troubleshooting access issues in scripts.

Out of the box property record

Raw metadata from the property record.

Property name glide.script.enforce_scope_checks_on_get_ref_record
Sys ID b15329e5ff2232101caeffffffffff87
Type boolean
Application Global
Default value true
Description Controls whether cross-scope access checks are enforced when calling getRefRecord() from JavaScript on a reference field/column. "true" (SAFE) Cross-scope access checks are enforced. Unauthorized calls to getRefRecord() will return null and log an access violation. "false" (UNSAFE) Cross-scope access checks are not enforced.
Updated 2026-01-19 22:45:52

Sources

Official references and nearby text excerpts where this property appears.

More in glide.script

Other properties in the same namespace.

All 14 properties in glide.script →