Property reference

glide.json.return_displayValue

Returns display values instead of stored sys_id values for reference fields in JSON responses. By default, the setting is off, so responses contain sys_id values unless a request parameter overrides the behavior.

Default
false
Type
boolean
Application
Not stated

Key questions about this property

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

What does it do? When enabled, JSON requests return display values for reference fields instead of their sys_id values by default.
What area does it affect? JSON API responses
What does the default mean? The default value is "false", which means this behavior is disabled by default.
When should you review it? When JSON consumers need readable reference values instead of sys_id values by default.

Property record

No out of the box record exists. ServiceNow scripts read this property and use the default value shown until you create it.

Property name glide.json.return_displayValue
Type boolean
Application Not stated
Default value false
Description Not stated

Sources

Official references and nearby text excerpts where this property appears.

Context preview Snippet 1
... base system behavior is to return the sys_id value for those fields. To have the display value for the field returned, use one of these options: • Add the property glide.json.return_displayValue to the system properties, and every JSON request will return a display value for a reference field. • Add the parameter displayvalue=true to the JSON request URL and JSON requests ...
Context preview Snippet 2
... headers. Format Property Default Value glide.export.csv.raw.value false Note: Setting the property as false also crops the value's string to 32000 characters. CSV glide.export.csv.column_header_label false glide.export.excel.display_value true Excel glide.export.excel.column_header_label true JSON glide.json.return_displayValue false glide.export.xlsx.display_value true XLSX glide.export.xlsx.column_header_label true Example: CSV Example: glide.export.csv.raw.value = false (default) glide.export.csv.column_header_label = false (default) Example: © 2026 ServiceNow, Inc. All rights reserved. ServiceNow, the ServiceNow logo, Now, ...

Used in

Out of the box artefacts that read this property. Append the path to your instance URL to open the record and see how the value is used.

More in glide (other)

Other properties in the same namespace.

All 537 properties in glide (other) →