Hello,
I am building a chatbot in PVA which includes bot framework composer. I want to display an adaptive card in the bot from bot framework composer. The adaptive card consists of choiceset which works fine if I give static choices and a static array, but when I try to give a dynamic array which is coming from power automate via PVA, the bot is displaying the empty adaptive card. I have tried with different versions of adaptive card, still didn't get the output.
Format of the array:
{ "title": "b", "value": "b" }, { "title": "c", "value": "c" }
Adaptive card:
Solved! Go to Solution.
Hi @Archana_Aila ,
Adaptive card input choiceset should accept dynamic array.
Here is a link for your reference.
Solved: Re: Turn CSV into Adaptive Card Choices. - Power Platform Community (microsoft.com)
In addition, the array you provided seems to be missing two square brackets.
[
{
"title": "b",
"value": "b"
},
{
"title": "c",
"value": "c"
}
]
Best Regards,
Charlie Choi
Hi @Archana_Aila ,
Adaptive card input choiceset should accept dynamic array.
Here is a link for your reference.
Solved: Re: Turn CSV into Adaptive Card Choices. - Power Platform Community (microsoft.com)
In addition, the array you provided seems to be missing two square brackets.
[
{
"title": "b",
"value": "b"
},
{
"title": "c",
"value": "c"
}
]
Best Regards,
Charlie Choi
User | Count |
---|---|
16 | |
16 | |
14 | |
9 | |
8 |
User | Count |
---|---|
27 | |
26 | |
24 | |
23 | |
15 |