List Collector Variable attributes

User460980
Kilo Contributor

Hi,

Can I use this in List collector and what this will do.

 

ref_auto_completer=AJAXTableCompleter,ref_ac_columns=user_name;email,ref_ac_columns_search=true

1 ACCEPTED SOLUTION

Vishal Birajdar
Giga Sage

Hi,

Yes you can use this in variable attributes in List collector.

find_real_file.png

 

Case 1. Without using variable attribute

If you do not use variable attributes then only display value of that record will be displayed.

find_real_file.png

 

Case 2 : with Variable attributes

If you use variable attribute then column name in bold text from variable attributes will also displayed

ref_auto_completer=AJAXTableCompleter,ref_ac_columns=user_name;email,ref_ac_columns_search=true

 

find_real_file.png

ref_ac_columns_search=true - this will allow to search with userid,username or email id in that field.

 

Vishal Birajdar
ServiceNow Developer

I know one thing, and that is that I know nothing.
- Socrates

View solution in original post

4 REPLIES 4

Vishal Birajdar
Giga Sage

Hi,

Yes you can use this in variable attributes in List collector.

find_real_file.png

 

Case 1. Without using variable attribute

If you do not use variable attributes then only display value of that record will be displayed.

find_real_file.png

 

Case 2 : with Variable attributes

If you use variable attribute then column name in bold text from variable attributes will also displayed

ref_auto_completer=AJAXTableCompleter,ref_ac_columns=user_name;email,ref_ac_columns_search=true

 

find_real_file.png

ref_ac_columns_search=true - this will allow to search with userid,username or email id in that field.

 

Vishal Birajdar
ServiceNow Developer

I know one thing, and that is that I know nothing.
- Socrates

Sagar Pagar
Tera Patron

Hi,

These are the variable attributes used in reference/list collector fields.

1) ref_ac_columns_search=true, ref_auto_completer=AJAXTableCompleter - this will allow the searching to happen mentioned as per the column/field names in reference/list collector field.

 

2) ref_ac_columns=column names separated by semicolon (;) — you have to add the column names here to search separated by the semi colon.

In your case, you have added user_name;email - it will allow users to search with email id field or user_name field.

 

Thanks!

Sagar Pagar

The world works with ServiceNow

Lilian M_vel
Tera Contributor

The properties and solution proposed here are working on the portal side, but it won't work on the desktop version of your item. 

Hello Lilian, 
    I've a requirement to populate values in List collector based on other field. Values are showing in Portal but not working on 'Desk top'. How to show values on desktop?

Thanks in advance