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

Notifications

Announcements

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
    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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 265 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 240 Super User 2025 Season 2

#3
S-Venkadesh Profile Picture

S-Venkadesh 101 Moderator

Last 30 days Overall leaderboard