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

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Adaptive card dropdown not showing options

(0) ShareShare
ReportReport
Posted on by 20

Hi,

 

I'm using 'post adaptive card and wait for a response'. In the card I want to use a dropdown list with choices.

The dropdown is fed by a result list that I store in an array. When it runs, the array is filled, but when clicking the dropdown, the list does not show any text?

 

Tried quite some different options, but they all give the same result.

- store values in an array and add the array directly to the adaptive card JSON

- used 'compose' to build up the adaptive card first and then use the output from the compose in the post message action

 

 

The generated JSON

 

 

 

 

 

 

 

{
 "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
 "type": "AdaptiveCard",
 "version": "1.2",
 "speak": "<s>Overdue Item</s>",
 "actions": [
 {
 "type": "Action.Submit",
 "title": "Submit"
 }
 ],
 "body": [
 {
 "type": "TextBlock",
 "text": "Overdue Item",
 "size": "Large",
 "weight": "Bolder",
 "wrap": true
 },
 {
 "type": "TextBlock",
 "text": "Due Date: ",
 "isSubtle": true,
 "wrap": true
 },
 {
 "type": "TextBlock",
 "text": "Created By: ",
 "isSubtle": true,
 "spacing": "None",
 "wrap": true
 },
 {
 "type": "TextBlock",
 "text": "Status",
 "wrap": true
 },
 {
 "type": "Input.ChoiceSet",
 "id": "status",
 "value": "5",
 "choices": [
 {
 "name": "Paris"
 },
 {
 "name": "Engineering Project"
 },
 {
 "name": "Project"
 },
 {
 "name": "Teamspace"
 },
 {
 "name": "Project Phase"
 },
 {
 "name": "Munich"
 },
 {
 "name": "Business Partner"
 },
 {
 "name": "Master Contract"
 },
 {
 "name": "Contract"
 },
 {
 "name": "Uwe"
 }
 ],
 "placeholder": "Open"
 }
 ]
}

 

 

 

 

 

 

 

The dropdown in the adaptive card

 

20220326_0000.png

 

I reduced the array to one value each as I thought that might be the issue, but no difference.
The original array looks like:

 

 

 

 

 

 

{
 "body": [
 {
 "ID": "21117",
 "Name": "Paris"
 },
 {
 "ID": "14960",
 "Name": "Engineering Project"
 },
 {
 "ID": "9244",
 "Name": "Project"
 },
 {
 "ID": "8590",
 "Name": "Teamspace"
 },
 {
 "ID": "9255",
 "Name": "Project Phase"
 },
 {
 "ID": "21214",
 "Name": "Munich"
 },
 {
 "ID": "11326",
 "Name": "Business Partner"
 },
 {
 "ID": "11348",
 "Name": "Master Contract"
 },
 {
 "ID": "11358",
 "Name": "Contract"
 },
 {
 "ID": "22780",
 "Name": "Uwe"
 }
 ]
}

 

 

 

 

 

 

 

Ideally I would have a dropdown showing the <ID - Name> on each line.

 

Thanks in advance!

 

Roel

 

I have the same question (0)
  • Verified answer
    roel-gillesen Profile Picture
    20 on at
    Re: Adaptive card dropdown not showing options

    Ok, so suddenly I figured out why this failed. The dropdown must be defined with a TITLE and a VALUE.

    So when I built up the array in this format, it worked.

     

     

    roelgillesen_0-1648311741924.png

     

    roelgillesen_1-1648311799647.png

     

     

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 647 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 350 Moderator

#3
developerAJ Profile Picture

developerAJ 256

Last 30 days Overall leaderboard