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 customize display columns in List Collector

Kentaro Numata
Tera Guru

Hello, It's Kentaro.

I created a List Collector to utilize watchlists.

And I tried setting Variable attibutes and adding User ID.

It succeeds for the Reference column but fails for the List Collector column.

 

<<Reference>>

Reference.png

 

<<List Colector>>

List Collector.png

 

Is it possible to add User ID with List Collector?

 

Thanks,

Kentaro.

 

1 ACCEPTED SOLUTION

Tai Vu
Kilo Patron
Kilo Patron

Hi @Kentaro Numata 

Add this attribute ref_auto_completer with the class AJAXTableCompleter next to your, it should do the trick.

Your variable attributes will look like 

 

ref_auto_completer=AJAXTableCompleter,ref_ac_columns=user_name,ref_ac_columns_search=true

 

 

AJAXTableCompleter: Displays matching auto-complete choices as rows in a table. The table displays the display value column of the reference table and any columns listed in the ref_ac_columns attribute.

 

Cheers,

Tai Vu

View solution in original post

3 REPLIES 3

Danish Bhairag2
Tera Sage

Hi @Kentaro Numata ,

 

When it comes to List collector the way of displaying information is bit different. When u select one record from left bucket it will display additional information at the bottom

But not inside the slush bucket.

 

Thanks,

Danish

 

Tai Vu
Kilo Patron
Kilo Patron

Hi @Kentaro Numata 

Add this attribute ref_auto_completer with the class AJAXTableCompleter next to your, it should do the trick.

Your variable attributes will look like 

 

ref_auto_completer=AJAXTableCompleter,ref_ac_columns=user_name,ref_ac_columns_search=true

 

 

AJAXTableCompleter: Displays matching auto-complete choices as rows in a table. The table displays the display value column of the reference table and any columns listed in the ref_ac_columns attribute.

 

Cheers,

Tai Vu

Hi @Tai Vu

Thank you always!!!

The issue has been resolved.

 

Thanks,

Kentaro.