Search users with userid in list type field referring to user table.

Balaram Chowda1
Kilo Contributor

Hi all,

 

We have a created a custom field (list type)named "Additional members".

Logged in user need to select multiple users in that field so we selected the field type as list.

Currently we are able to search users with name.

Is there a way to search users with user id, instead of name.

Please guide me the best possible way to achieve this requirement.

 

 

Thank you,

Balaram.

1 REPLY 1

Community Alums
Not applicable

HI @Balaram Chowdary ,

You can click on the field, configure dictionary and under reference specifications, you can add the column you want like this

ref_ac_columns=user_name;first_name;last_name;name;email

If you want to search by this column as well, then use ref_ac_columns_search

Ref: https://docs.servicenow.com/bundle/rome-platform-administration/page/administer/field-administration...

 

Mark my answer correct & Helpful, if Applicable.

Thanks,
Sandeep