Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

How to display or add the Employee ID for reference variable field?

Not applicable

 

Hi,

 

I have a variable Employee which is referencing to User [sys_user].

The screenshot below only displays the name and email address.

Vengeful_0-1716175397062.png

How can I display or add the Employee ID field?

 

1 ACCEPTED SOLUTION

maroon_byte
Mega Sage

Use Service catalog variables attribute: https://docs.servicenow.com/bundle/washingtondc-servicenow-platform/page/product/service-catalog-man...

 

ref_auto_completer=AJAXTableCompleter,ref_ac_columns=employee_number,ref_ac_columns_search=true

 

Employee Name will be displayed regardless.

 

Regards,

Sharad

View solution in original post

3 REPLIES 3

maroon_byte
Mega Sage

Use Service catalog variables attribute: https://docs.servicenow.com/bundle/washingtondc-servicenow-platform/page/product/service-catalog-man...

 

ref_auto_completer=AJAXTableCompleter,ref_ac_columns=employee_number,ref_ac_columns_search=true

 

Employee Name will be displayed regardless.

 

Regards,

Sharad

Could we do it for the all the catalog items where this Requestor for variable is being used or any variable referencing to sys_user table so that we don't have to individually go to each "Requested for" variable of the catalog items and add the attributes?

markmacheme
Giga Contributor

If you are using an excel sheet offline to keep a record to hold information then add the employee number if you have a specific number you are trying to input.