Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How to display only email address

PRAGHATIESH S
Tera Expert

Hi,

I created one catalog item with Email field.

This field reference to the sys_user table, I want to display only email address of the user.

I aware about the display value make it true. But it will be affect globally. So

 

Is it possible to achieve using catalog client script or any other way? Can anyone suggest here.

 

Thank you 

5 REPLIES 5

SanjivMeher
Mega Patron
Mega Patron

You can use ref_ac_columns=emails in the variable attribute as well.

 

ref_auto_completer=AJAXTableCompleter,ref_ac_columns=name;user_name;email,ref_ac_order_by=name,ref_ac_columns_search=true

 

Another option would be to change it to a lookup select box, where you can specify which field you would like to display in the variable. Ex in the Lookup label fields, use email

SanjivMeher_0-1742450669962.png

 

 


Please mark this response as correct or helpful if it assisted you with your question.