erictgrubaugh
07/06/2020, 4:40 PMcurrentRecord
will not have any field-level data populated when the user is Viewing a record. You will need to load
or search
for the data if you need it in View mode. You can detect the mode in your User Event using scriptContext.type
, but there is no similar mechanism within the Client Script
2. Fields will return undefined
if they are empty or if you have the wrong field ID. Make sure the values are populated and the field IDs are the same in both environments.