In Adaptive Card payload, is it possible for Action.submit to both hide the action buttons and submit data to backend bot?

Ashvini 20 Reputation points
2023-04-14T00:06:54.8833333+00:00

Our team is building a bot and adaptive cards for teams app. Our requirement is on Action.submit, hide the Action buttons as well as send the data to backend Bot. we want to hide the Action buttons because we do not want the user to click on the buttons again. Is this possible to do in the Adaptive card alone?

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
9,251 questions
Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
2,920 questions
0 comments No comments
{count} votes

Accepted answer
  1. Meghana-MSFT 3,801 Reputation points Microsoft Vendor
    2023-04-17T10:29:22.21+00:00

    you can toggle visibility of elements but only as part of an action 'Action.ToggleVisibility'. However, currently it is not possible to have both a submit and toggle action together as one action. Thanks.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful