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

How to make choice list input appear as buttons?

Nick Parsons
Mega Sage

Hi all, I'm wondering if it is possible to make a virtual agent choice list input appear as buttons. For example, if I have a choice list input that has fewer than 5 options, it appears as buttons (desired):

NickParsons_0-1680136274625.png

When the choice list is changed to 5 or more items, a dropdown list appears, whereas I would like to keep it as the buttons as shown above:

NickParsons_1-1680136319887.png

Is this limit (5) configurable somehow (maybe in some sort of system property) so that I can add more than 5 options and keep them as buttons? Or is there some other way I could dynamically add buttons to a virtual agent input within MS Teams? 

 

Thanks

1 ACCEPTED SOLUTION

Raguram1
ServiceNow Employee
ServiceNow Employee

Yes there is a hard limit 5, Microsoft as well does not allow more than 5 (if I am not wrong). I did not find any official claim about this limitation. but in general when you try to add more than 5 it shows warning in adaptive card designer as well.

View solution in original post

2 REPLIES 2

Raguram1
ServiceNow Employee
ServiceNow Employee

Yes there is a hard limit 5, Microsoft as well does not allow more than 5 (if I am not wrong). I did not find any official claim about this limitation. but in general when you try to add more than 5 it shows warning in adaptive card designer as well.

Carlos Dudoren2
Tera Expert

The following system property 'sn_va_teams.picker_button_limit' defines how many options are presented to the user before the options are displayed in a dropdown in Microsoft Teams,

The default value is 4 and you can increase this number if needed. Not sure if there is a limitation as well in Microsoft Teams, but I increased this to 8 and it worked fine.