Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Copilot Studio - Topic Creation & Management
Unanswered

How to Change system topic Multiple Topics Matched response to a Vertical

(0) ShareShare
ReportReport
Posted on by

Hi,

 

if anyone can help, I am wondering if its possible to change system topic Multiple Topics Matched response to a Vertical and if so what I would need to change in the code. I am using the web PVA.

 

Cheers for any help.

Categories:
  • LimeLeaf Profile Picture
    278 on at
    Re: How to Change system topic Multiple Topics Matched response to a Vertical

    Would be awesome if Micosoft would be adding this as a setting to show the matched responses vertically.

  • HenryJammes Profile Picture
    on at
    Re: How to Change system topic Multiple Topics Matched response to a Vertical

    Hi @Old_man_rolly,

     

    As @mboninco, you can likely address this on the client side (i.e. your chat replies displays the suggested actions / quick replies.

     

    Alternatively, you may choose to display the Multiple Topics Matched options using an adaptive card.

    I played around a little bit and got to that result:

     

    HenryJammes_0-1696647995170.png

     

    You can do the same by replacing the Multiple Topics Matched topic YAML with the below code.

    You can access the code by click this top right corner option:

     

    HenryJammes_1-1696648061605.png

     

    Maybe do a backup of your existing code before pasting mine.

     

    kind: AdaptiveDialog
    beginDialog:
     kind: OnSelectIntent
     id: main
     actions:
     - kind: SetVariable
     id: setVariable_M6434i
     variable: init:Topic.IntentOptions
     value: |-
     =Sort(
     System.Recognizer.IntentOptions, 
     Score, 
     SortOrder.Descending
     )
    
     - kind: EditTable
     id: sendMessage_g5Ls09
     changeType: Add
     itemsVariable: Topic.IntentOptions
     value: "={ DisplayName: \"None of these\", TopicId: \"NoTopic\", TriggerId: \"NoTrigger\", Score: 1.0 }"
    
     - kind: Question
     id: question_zf2HhP
     interruptionPolicy:
     allowInterruption: false
    
     alwaysPrompt: true
     variable: Topic.SelectedOption
     prompt:
     text:
     - "To clarify, did you mean:"
     attachments:
     - kind: AdaptiveCardTemplate
     cardContent: |-
     ={
     type: "AdaptiveCard",
     '$schema': "http://adaptivecards.io/schemas/adaptive-card.json",
     version: "1.5",
     body: 
     ForAll(Topic.IntentOptions,
     {
     type: "Container",
     items: [
     {
     type: "ActionSet",
     actions: [
     {
     type: "Action.Submit",
     title: DisplayName,
     data: DisplayName
     }
     ]
     }
     ]
     }
     )
     }
    
     entity: StringPrebuiltEntity
    
     - kind: SetVariable
     id: setVariable_HazjLn
     variable: System.Recognizer.SelectedIntent
     value: |-
     =LookUp(
     Topic.IntentOptions, 
     DisplayName = Topic.SelectedOption
     )
    
     - kind: ConditionGroup
     id: conditionGroup_60PuXb
     conditions:
     - id: conditionItem_rs7GgM
     condition: =System.Recognizer.SelectedIntent.TopicId = "NoTopic"
     actions:
     - kind: ReplaceDialog
     id: YZXRDb
     dialog: cc_ContosoCoffeeBot.topic.Fallback

     

    You also need to fix the redirect to the Escalate topic at the end:

     

    HenryJammes_2-1696648240144.png

     

    Let me know if that helps.

    Henry

  • mboninco Profile Picture
    on at
    Re: How to Change system topic Multiple Topics Matched response to a Vertical

    @Old_man_rolly 

    The following forum post has a solution that may work for you: 

     

    Solved: Customize the options display - Power Platform Community (microsoft.com)

     

    -- Mike Bonincontri

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Copilot Studio

#1
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 132

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 81 Super User 2025 Season 1

#3
Pablo Roldan Profile Picture

Pablo Roldan 61

Featured topics