g_form.getValue() — Reference Field
g_form.getValue('caller_id')
- Returns the sys_id of the referenced record
- The Caller [caller_id] field is a reference field
A sys_id is the database's unique key for a record.
Tip
The examples shown have used the alert() method in a Client Script to show the value of a single held. You can see several field values at once without a Client Script. If you have the 'admin' role, select Show XML on the form's Context menu. This will display the record's data in XML format