web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / Solution - How to ask ...
Copilot Studio
Unanswered

Solution - How to ask question from Adaptive Card without Action Button

(2) ShareShare
ReportReport
Posted on by 27

I've been migrating our Bot from Azure to PVA for the last few days. One of the nice features it had was a little "Popular Queries" that showed an Adaptive Card with SelectAction - so clicking on a section redirected rather than having an Action Button.

 

I wanted to recreate this & have been working on it & wanted to share in case anyone found it useful.

 

The key part is when you "Ask a Question with Adaptive Card is it looks for the actionSubmitId.

A snippet of my code:

 

{
 "type": "Container",
 "spacing": "Medium",
 "items": [
 {
 "type": "ColumnSet",
 "columns": [
 {
 "type": "Column",
 "verticalContentAlignment": "Top",
 "items": [
 {
 "type": "Image",
 "url": ***THUMBNAIL***,
 "horizontalAlignment": "Center"
 }
 ],
 "width": 10
 },
 {
 "type": "Column",
 "width": 90,
 "spacing": "Small",
 "verticalContentAlignment": "Top",
 "items": [
 {
 "type": "TextBlock",
 "text": ***TITLE***,
 "size": "Medium"
 },
 {
 "type": "TextBlock",
 "text": ***SUBTITLE***,
 "wrap": true,
 "size": "Default",
 "spacing": "Small",
 "maxLines": 2
 }
 ]
 }
 ]
 }
 ],
 "selectAction": {
 "type": "Action.Submit",
 "title": "ticket",
 "data": {
 "actionSubmitId": "ticket"
 }
 },

 

Final outcome of what user sees:

nfrancis81_0-1687275529217.png

Clicking on either of these three redirects to the relevant topic for the user.

The key element is the SelectAction within the Container & ensuring you have the data/ActionSubmitId bit.

 

Hope this helps others & saves them the few hours it took me!

I have the same question (0)
  • Jameslew_MSFT Profile Picture
    Microsoft Employee on at

    This is a great reference, thank you!

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 704

#2
Vish WR Profile Picture

Vish WR 249

#3
Haque Profile Picture

Haque 244

Last 30 days Overall leaderboard