Last name serach in caller field

NeethuB
Tera Contributor

In servicenow in the incident form there is a assigned_to field but when we search caller we can only search by his first name like "amal murali" we can search him by amal then the amal first name people is showing but i want to serach by the last name too.

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

@NeethuB 

you can add this in dictionary attributes

ref_ac_columns=last_name,ref_auto_completer=AJAXTableCompleter,ref_ac_columns_search=true

Auto-complete for reference fields 

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

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

View solution in original post

10 REPLIES 10

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @NeethuB 

It is OOTB but you need to add * before last name

AGLearnNGrow_0-1740577154343.png

 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

Actually i know that but i want it like when a user simply search the last name it be search like "tuter" the abel tuter shoud be visible

No, either use  * or add the attribute as suggested by Ankur. 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

@NeethuB 

 

It works OOTB, I don't thnk need to add attribute

AGLearnNGrow_0-1740580284613.pngAGLearnNGrow_1-1740580302155.png

 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************