After 2 months of it not working, this is now working for me.
Why isn't Action.Execute including Input Values when operating within a channel?
Ryan Fowler
50
Reputation points
I have the following Adaptive Card:
{
contentType: "application/vnd.microsoft.card.adaptive",
content: {
type: "AdaptiveCard",
version: "1.5",
body: [
{
type: "Input.Text",
id: "someText",
value: "1",
maxLength: 100,
}
],
actions: [
{
type: "Action.Submit",
title: "Submit",
id: "submit",
verb: "submit",
data: {"action": "submit"},
},
{
type: "Action.Execute",
title: "Execute",
id: "execute",
verb: "execute",
data: {"action": "execute"}
}
],
}
If I click either button in personal chat with a bot, the bot receives a value for someText
as I'd expect.
In a Team Channel, I receive someText
with the Action.Submit action, but not with the Action.Execute button. Action.Execute was working a few weeks ago.
How do I use the Action.Execute action type and also receive Input values from the Card?
Microsoft Teams Development
4,110 questions
Accepted answer
5 additional answers
Sort by: Most helpful
-
Tomlinson, Sean 5 Reputation points
2023-07-05T15:09:18.0566667+00:00 I have raised an issue on github: https://github.com/OfficeDev/TeamsFx/issues/9223
Hopefully Microsoft are more responsive there.