The CreatorCon Call for Content is officially open! Get started here.

First selected value of a List Collector is being shown separately. How to stop this?

subhadeep1618
Tera Guru

I have a catalog variable which is of type List Collector.

In RITM the selected values are being correctly shown.

But the problem is: the 1st selected value is always being shown separately below.

How to stop this?

Please check below screenshot.

2 selected values are correctly being shown in the box.

But the line marked in yellow color is the issue - how to hide this?

 

subhadeep1618_0-1692613935058.png

 


Please mark this post as a solution and also as helpful, if this resolves your issue or query.

Thanks,
Subhadeep Ghosh.
1 ACCEPTED SOLUTION

Sagar Pagar
Tera Patron

Hi @subhadeep1618,

 

You can use the glide_list=true variable attributes. It will show field as reference field with multi-select options.

 

glide_list: Changes the list collector interface from slushbucket to glide list.

Applicable variables: List collector.

 

 

For reference: Service catalog variable attributes 

 


If my response helps to solve your issue. Kindly mark it as helpful & correct. It will be helpful for future readers! 👍🏻
Thanks,
Sagar Pagar

The world works with ServiceNow

View solution in original post

3 REPLIES 3

Sagar Pagar
Tera Patron

Hi @subhadeep1618,

 

You can use the glide_list=true variable attributes. It will show field as reference field with multi-select options.

 

glide_list: Changes the list collector interface from slushbucket to glide list.

Applicable variables: List collector.

 

 

For reference: Service catalog variable attributes 

 


If my response helps to solve your issue. Kindly mark it as helpful & correct. It will be helpful for future readers! 👍🏻
Thanks,
Sagar Pagar

The world works with ServiceNow

Thanks @Sagar Pagar - your suggestion resolved the issue.

But I've one more question.

Now the selected values are showing in RITM as simple comma-separated values.

Instead of this, is it possible to show the values line-by-line (i.e. with newline character after every value)?


Please mark this post as a solution and also as helpful, if this resolves your issue or query.

Thanks,
Subhadeep Ghosh.

Hi @subhadeep1618,

 

I don't think it's possible. It is expected behavior to display list collector values separated by commas.


If my response helps to solve your issue. Kindly mark it as helpful & correct. It will be helpful for future readers! 👍🏻
Thanks,
Sagar Pagar

The world works with ServiceNow