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

Murthy Ch
Giga Sage

Hi Approva,

Please add this in variable attributes and give a try:

ref_ac_columns=user_id  //map your backend name of the UserID

It will add the userid along with username 

Refer this for documentation:

Variable attributes

Thanks,
Murthy

Hi Murthy,

Thanks for the quick response but i tried this also but its not working for me.

It is still searching with user name instead of user id.

As per our requirement if i am searching with user id it should give result based on user id but with this attribute it is still searching with user name but user id is coming in search result

I want it to search with user id not with user name

It should be like below:

ref_ac_columns=email;user_name

Thanks,
Murthy