How to get value in "phone_number_e164" field type via script in server side.

Sriraj V
Tera Contributor

Hi Team,

I am trying to get the value from "phone_number_e164" field type by using getValue. Its printing empty only.

Is there any restrictions or do we have any other method to get value from this field type.

Kindly advise..

 

Regards,

Sri

1 REPLY 1

Maik Skoddow
Tera Patron
Tera Patron

Hi @Sriraj V 

are you sure that the respective field is filled. I have in my instance a custom field of that type for the sys_user table and all of the following variants for retrieving a field's value are working like a charm:

_grUser.u_emergency_phone.getDisplayValue()
_grUser.u_emergency_phone.getValue()
_grUser.getValue('u_emergency_phone')

 Maik