How to display the email ID instead of name in the input field?

2022_ServiceNow
Tera Expert

Hello everyone!

How can I display the 'Email ID' in the input field instead of 'Name'?

  • I have used list collector variable type in the catalog form.
  • The data is from the table that I have created.

find_real_file.png

Regards,

Priya

1 ACCEPTED SOLUTION

Musab Rasheed
Tera Sage
Tera Sage

Hello,

For that to happen you have to change 'Display' value to true for email field and display value to false for Name field in sys_user table, Generally this is not recommended since changes will be reflected in all places hence .you have to control this with 'Display' value only. You should drop this idea.

Please hit like and mark my response 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

No No, that's not possible, ask your senior to either give complete solution or accept the limitation, I haven't seen anyone doing this.

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

Thank you Rasheed!

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

whichever field is Display=true will be shown there in list collector

you can add search on other fields using ref_ac_columns

ref_auto_completer=AJAXTableCompleter,ref_ac_columns=u_email,ref_ac_columns_search=true

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Hi,

Can you please let me know where should we make this change 'Display value for email true'?

ref_auto_completer=AJAXTableCompleter,ref_ac_columns=u_email,ref_ac_columns_search=true

This I've already used to display the email ID along with the name. Thank you

Regards,

Priya

 

 

@Priya

Thank you for marking my response as helpful.

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader