Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

Search with User Id instead of user name

Apoorva12
Giga Contributor

Hi All,

We have a reference field caller (referring to  sys_user table) on a service catalog form, currently if we are searching with the user name it is giving results based on user name but we want to search with user id instead of user name.

Can anyone guide me here.

 

Thank you !

1 ACCEPTED SOLUTION

It should be like below:

ref_ac_columns=email;user_name

Thanks,
Murthy

View solution in original post

5 REPLIES 5

Thank you for your help,with below code i am able to achieve my requirement.

ref_auto_completer=AJAXTableCompleter,ref_ac_columns=user_name,ref_ac_columns_search=true