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.

Display label and displayvalue in AJAXTableCompleter

HH10
Tera Contributor

I have a catalog item variable that I am trying to display both the NAME, CAPACITY and FREE SPACE of the options. However, it looked like this when people are searching.

 

Here's the Variable attributes added to the variable:

ref_auto_completer=AJAXTableCompleter,ref_ac_columns=name;capacity;freespace


Here's how it is displayed:

HH10_0-1667497407666.png

 

6 REPLIES 6

HH10
Tera Contributor

The expected behavior was supposed to be what is documented here on the "Remove the display value column" section:

Auto-complete for reference fields (servicenow.com)

Hello,

 

I am still not sure what you are looking for are you saying it should look like the screenshot?

 

Saurav11_0-1667918412764.png

 

Please mark my answer as correct based on Impact.