How can I get the display value from oldValue in a client script?

gjz1
Giga Expert

I have a requirement to store the old display value of a reference field in a string field.  I'm using an onChange client script, but I can't figure out how to get the display value from oldValue.  Does anyone know how I can accomplish this?  What I have written returns the sys_id, I need the display value.

TIA

find_real_file.png

12 REPLIES 12

Thanks Stephen - I'll check into that.

IceIronDragon
Tera Guru

GJZ,

 

try   oldValue.getDisplayValue()

This is a client script, getDisplayValue() isn't available for client scripts.