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

Musab Rasheed
Tera Sage
Tera Sage

Hello,

Yes that's correct behavior only , what are you expecting then ? It will not display field name while searching it will just display values.

Please hit like and mark my response as correct if that helps
Regards,
Musab

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)

Have you done that one and still not working ? Just see what is 'Display' value in sys_user table and make changes accordingly, link you have shared has complete example and it should work properly.

Please hit like and mark my response as correct if that helps
Regards,
Musab

Saurav11
Kilo Patron
Kilo Patron

Hello,

 

What is the issue with this current behaviour? Please elaborate a little more so it would be easier to help you.

 

Thanks.