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.

Attribute ref_ac_display_value=false is not working for Dictionary

Suvitha Murugan
Tera Contributor

Hi 

I’ve added multiple columns for searching, but I need to hide a specific column from the autocomplete display. The attribute ref_ac_display_value=false doesn’t seem to work at the dictionary level. Can someone help? I specifically want to hide the last name.


ref_auto_completer=AJAXTableCompleter,ref_ac_columns=user;user.last_name;user.email;user.user_name ,ref_ac_columns_search=true,ref_ac_display_value=false

SuvithaMurugan_0-1764943587061.png

Thanks in Advance

4 REPLIES 4

sarah_bioni
ServiceNow Employee
ServiceNow Employee

Hi @Suvitha Murugan ,

 

Did you try to remove the user.last_name from the ref_ac_columns? 

 

Regards,

Sarah Bioni

@sarah_bioni 
Users should have the flexibility to search using their last name.

John Gilmore
Giga Guru

Remove user.last_name from 'ref_ac_columns=user;user.last_name;user.email;user.user_name'

the ref_ac_columns=xxx;xxx;xxx determines which columns/attributes of the user record are displayed.

@John Gilmore 
Thanks for the response
Users should have the flexibility to search using their last name. I want to hide display value of the last name during search. Is there any possible way to hide it. Without removing from attribute search.