How to search user on the basis of last name in reference catalog variable?

madhvi
Giga Contributor

Reference catalog variable on user table is searching user on the basis of location - variable attribute = ref_auto_completer=AJAXTableCompleter,ref_ac_columns=manager;location

Can we make search work with last name. Right now when i am searching user with last name smith, it gives me result as all user in location smithton. How to make it searchable on last name smith?

2 REPLIES 2

Ahmmed Ali
Mega Sage

you can add attribute in variable definition to search with last name also.

 

Please look at: https://docs.servicenow.com/bundle/newyork-platform-administration/page/administer/field-administrat...

 

give last_name as value for attribute ref_ac_columns.

 

Thanks,
Ali

If I could help you with your Query then, please hit the Thumb Icon and mark my answer as Correct!!

Thank you,
Ali

Example: https://community.servicenow.com/community?id=community_question&sys_id=aa529761db101fc01dcaf3231f96...

 

Replace email with last_name in solution mentioned in above thread

If I could help you with your Query then, please hit the Thumb Icon and mark my answer as Correct!!

Thank you,
Ali