List Collector - Catalog Item

Jonathan102
Tera Guru

I am trying to change the field that my list collector searches on from the display field.  For example, the Hardware table has Display Name set as the display value.  When users search the list collector, they have to search by Display Name.  We want users to be able to search by Configuration Item instead.  Any tips on how to do this?  

 

As an extra, not required, I would love to be able to show multiple columns in the search box but ref_auto_completer doesnt seem to work on List Collectors.

 

Thanks!

6 REPLIES 6

Ankur Bawiskar
Tera Patron
Tera Patron

@Jonathan102 

you can show additional fields using ref_ac_columns and also make them searchable

Example:

ref_auto_completer=AJAXTableCompleter,ref_ac_columns=category;serial_number,ref_ac_columns_search=true,ref_ac_order_by=name

Variable attributes sections

AnkurBawiskar_0-1754658074644.png

 

Output: I have added category and serial_number as extra fields to be shown along with name

AnkurBawiskar_1-1754658074645.png

 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

It isn't working.  I have "ref_auto_completer=AJAXTableCompleter,ref_ac_columns=ci,ref_ac_columns_search=true" because I want to make the field "ci" show up and be searchable too, but I still only get the display name.

 

I don't know what else to try.