March 2017
Beginner
358 pages
9h 51m
English
The following code snippet will set the value of the displayVal variable to INC0010014. INC0010014 happens to be the value of the Number [number] field of the incident with the sys_id passed into get(), since number is the field set as the display value in the incident table:
var gr = new GlideRecord('incident'); gr.get('46f09e75a9fe198100f4ffd8d366d17b'); var displayVal = gr.getDisplayValue();
Read now
Unlock full access