List Collector in Record Producer

AngelP83
Giga Guru

Hello,

I want to make my List Collector a little nicer.  I have seen other forms where you see a field box (Text box) and you can type the name.. you can select the name.. the name will be added to the textbox, and you can keep adding multiple names on that text box.

I believe that value attribute is:

no_filter,ref_auto_completer=AJAXTableCompleter,ref_ac_columns=name;user_name;ref_ac_order_by=name,ref_ac_columns_search=true

When I add that "code" to my value attribute, I only see the no_filter layout...  is it because the AJAX does not work on record producers? only Catalog?

Thank you

1 ACCEPTED SOLUTION

You can re-size any variable by using the Variable Width field on the Type Specifications tab

find_real_file.pngor you can also put it within a container that has a split to force it into a half (or a third if you nest the containers and splits) of the dynamic screen width. 

To add another field to those displayed, I assume you're talking about the area below the list

find_real_file.png

To define the fields that are displayed below the list collector, navigate to a URL similar to this

https://dev80887.service-now.com/sys_user_list.do?sysparm_view=sys_ref_list

Replacing your instance name at the beginning, and notice that the name of the List table follows the instance name.  Making this change will affect all list collector variables that reference the same table.  The URL will display a certain list view of that table, showing the columns you currently see below the variable.  Just like any other list, right-click in the headers and select Configure > List Layout to choose the desired columns and order.  Once you save the layout and return to wherever you're populating the list collector variable, you will see the new layout.

find_real_file.png

View solution in original post

6 REPLIES 6

Brad Bowman
Kilo Patron
Kilo Patron

Each attribute in that list may be something else you're looking for, but in this case you'll want to add 

glide_list

to make the List Collector variable appear similar to a List field on a form - with the lock icon, etc like Users2 below

find_real_file.png

AngelP83
Giga Guru

Thanks for responding.

I am looking for something like this:

find_real_file.png

I can see the Full Name, and User ID (I would also like to add Email and Business Unit).

Each time I select a user, his/her name will be added to that List Collector (like A Manuel... AP) and so one.

I tried using glide_list but I do not like the small lockd.. .

Thank you

That's what a List Collector variable looks like in Service Portal - with or without the glide_list attribute.  In the Service Catalog/native UI you have 2 choices as shown above.

Well.. that is not good :(.   Thank you for the information!

Another question, my list collector is in 1 column which looks huge... I used 2 columns, and it looks ok (but I have a 24 inc monitor), how can I adjust the size of the list collector when it is using no_filter.  

Also... when I click on the user name from my list collector, I can see the NAME, USERID, and EMAIL, how can I add another field like Department? 

Thank you