How to set first name for user refence field

Shawn33
Tera Expert

I have a User Reference field called "First Name" in catalog item, by selecting user it needs to populate only first name of that user, not fullname.

1 ACCEPTED SOLUTION

Musab Rasheed
Tera Sage
Tera Sage

Hi Shawn,

Since that is reference field it's not possible to display only first name because 'display' value on sys_user table can be true for only field and by default it is true for full name I guess hence it will display full name once you select, and if you make display true for first name then it will affect everywhere hence this is not recommended. Mark my answer as correct if that helps.

Regards

Please hit like and mark my response as correct if that helps
Regards,
Musab

View solution in original post

9 REPLIES 9

Musab Rasheed
Tera Sage
Tera Sage

Hi Shawn,

Since that is reference field it's not possible to display only first name because 'display' value on sys_user table can be true for only field and by default it is true for full name I guess hence it will display full name once you select, and if you make display true for first name then it will affect everywhere hence this is not recommended. Mark my answer as correct if that helps.

Regards

Please hit like and mark my response as correct if that helps
Regards,
Musab

i think we can write onChange() catalog client script for this , like on changing first_name field value it need to set firstname for that field, if i am not wrong! 

First name is string field or reference field.?

Please hit like and mark my response as correct if that helps
Regards,
Musab

reference field