Use PDIs? Take our 5-minute survey to help shape the PDI roadmap.

Want custom fields in reference qualifier

Abishek1998
Tera Expert

Hi all,

 

I am stuck at one issue. The reference field for sys_user table is taking the first name and last name while searching in a reference variable. But Can I also add two newly created fields? which is u_test_fname and u_test_lname. So If i search these name also. I should get the user records. 

 

Abishek1998_0-1783505073519.png

 

1 ACCEPTED SOLUTION

Tanushree Maiti
Tera Patron

Hi @Abishek1998 

 

 

  1. Open your Catalog Item and select your reference variable.
  2. Add the following comma-separated string to the Variable Attributes field:

 

ref_auto_completer=AJAXTableCompleter,ref_ac_columns=u_test_fname;u_test_lname,ref_ac_columns_search=true

 

Please Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti

View solution in original post

5 REPLIES 5

Aditya_hublikar
Giga Sage

Hello @Abishek1998 ,

 

Refer this link :

https://www.servicenow.com/community/developer-forum/make-reference-field-searchable-by-2-different-...

 

 

If this helps you then mark it as helpful and accept as solution.

Reagards,

Aditya