Skip to main content

Notifications

Copilot Studio - Topic Creation & Management
Answered

Type and Search or Dropdown search possible in Question Node for Multiple Options (Eg 150 options)??

(0) ShareShare
ReportReport
Posted on by 71

In a Topic, while designing a Question Node, I wanted to give a very big list of options to choose (for example 150 options). Configuring 150 options in Basic Card/Multiple Options/Options from a list var will be tedious for a chat user to scroll and select from it.

 

I need a solution for this. Is there a possibility to design dropdown search menu or type & search to pick from the Options. Please help me on this..

  • adilei Profile Picture
    adilei on at
    Re: Type and Search or Dropdown search possible in Question Node for Multiple Options (Eg 150 options)??

    Maybe this will help? Display Data from Arrays in Adaptive Cards - Microsoft Copilot Studio | Microsoft Learn

  • Karishma2805998 Profile Picture
    Karishma2805998 71 on at
    Re: Type and Search or Dropdown search possible in Question Node for Multiple Options (Eg 150 options)??

    Great ! I think this is working. One more help adilei, Can you share some possible solution to dynamically add the JSON schema to Adaptive Card from Power Automate JSON output

  • Verified answer
    adilei Profile Picture
    adilei on at
    Re: Type and Search or Dropdown search possible in Question Node for Multiple Options (Eg 150 options)??

    Change the schema to 1.5, it should work in Copilot Studio

    adilei_0-1709792114531.png

     

  • Karishma2805998 Profile Picture
    Karishma2805998 71 on at
    Re: Type and Search or Dropdown search possible in Question Node for Multiple Options (Eg 150 options)??

    Thanks adilei. But I tried to use your sample JSON and getting version not supported issue in Adaptive Cards. 

     

    Karishma2805998_0-1709781968065.png

     

    Default version was 1.0. But when I use version 1.0, I am not getting proper filter component, its not editable/clickable

    Karishma2805998_1-1709782152403.png

     



  • Verified answer
    adilei Profile Picture
    adilei on at
    Re: Type and Search or Dropdown search possible in Question Node for Multiple Options (Eg 150 options)??

    So, it seems adaptive cards actually support a filtered search experience. I don't know if there's a limit on the number of choices, but it seems it would be worthwhile to test this:

     

    adilei_0-1709584018098.png

     

     

    {
     "type": "AdaptiveCard",
     "body": [
     {
     "type": "Input.ChoiceSet",
     "id": "choices",
     "style": "filtered",
     "choices": [
     {
     "title": "Option 1",
     "value": "option1"
     },
     {
     "title": "Option 2",
     "value": "option2"
     },
     {
     "title": "Option 3",
     "value": "option3"
     },
     {
     "title": "Option 4",
     "value": "option4"
     },
     {
     "title": "Option 5",
     "value": "option5"
     },
     {
     "title": "Option 6",
     "value": "option6"
     },
     {
     "title": "Option 7",
     "value": "option7"
     },
     {
     "title": "Option 8",
     "value": "option8"
     },
     {
     "title": "Option 9",
     "value": "option9"
     },
     {
     "title": "Option 10",
     "value": "option10"
     },
     {
     "title": "Option 11",
     "value": "option11"
     },
     {
     "title": "Option 12",
     "value": "option12"
     },
     {
     "title": "Option 13",
     "value": "option13"
     },
     {
     "title": "Option 14",
     "value": "option14"
     },
     {
     "title": "Option 15",
     "value": "option15"
     },
     {
     "title": "Option 16",
     "value": "option16"
     },
     {
     "title": "Option 17",
     "value": "option17"
     },
     {
     "title": "Option 18",
     "value": "option18"
     },
     {
     "title": "Option 19",
     "value": "option19"
     },
     {
     "title": "Option 20",
     "value": "option20"
     }
     ]
     }
     ],
     "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
     "version": "1.6"
    }

     

     

  • Karishma2805998 Profile Picture
    Karishma2805998 71 on at
    Re: Type and Search or Dropdown search possible in Question Node for Multiple Options (Eg 150 options)??

    Adilei,

     

    Can I get some reference about after creating custom search component, how to embed to the existing MS copilot I have created in Copilot Studio?

  • Karishma2805998 Profile Picture
    Karishma2805998 71 on at
    Re: Type and Search or Dropdown search possible in Question Node for Multiple Options (Eg 150 options)??

    Thanks adilei for your response.

     

    Getting input from user and then search is not I am expecting. All the user will not be knowing the exact option to search thats why I wanted a dropdown type and search.

     

    Let me check out the BotFramework link you have shared if it provides me a solution.Thanks a lot again!

  • adilei Profile Picture
    adilei on at
    Re: Type and Search or Dropdown search possible in Question Node for Multiple Options (Eg 150 options)??

    Not exactly an autocomplete UX, but you could collect an input from the user, and then use a search function behind the scenes to retrieve a smaller subset of options that would be displayed as choices.

     

    If you're comfortable with a more code centric approach, you could create your own search component and embed that in the chat. Here is an example: BotFramework-WebChat/samples/05.custom-components/f.password-input at main · microsoft/BotFramework-WebChat (github.com)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,434

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,722

Leaderboard

Featured topics