Search in Reference variable But Not display fields

manasamaniac
Mega Expert

Hi Team,

 

Requirement : Users should be able to search with email or employee number in a reference variable but the fields must not be displayed in the drop down. Only the display value should be displayed in drop down.

 

Thanks

Manasa

9 REPLIES 9

Community Alums
Not applicable

Hi Manasa,

 

Apologies for overlooking the requirement is for variables.

For variables use variable attributes, you can use this link as reference:

https://docs.servicenow.com/bundle/madrid-it-service-management/page/product/service-catalog-managem...

find_real_file.png

To achieve the above results I put the following Variable attributes:

ref_ac_columns=name;email,ref_ac_columns_search=true,ref_auto_completer=AJAXReferenceCompleter

 

Please mark as correct if this solves your query! 🙂

Thanks

DR

The Requirement is user should be able to search via name OR email but display should be only email and not name .

Let me check with your solution.

Name is displayed . Requirement is Not to Display Name but enable search for Name and Email

Rashmi11
Tera Contributor

Hi Manasa,

 

Did you get the required result?