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 | Development
Microsoft Teams | Development
Building, integrating, or customizing apps and workflows within Microsoft Teams using developer tools and APIs
Microsoft Teams | Microsoft Teams for business | Other
0 comments No comments
{count} votes

Answer accepted by question author
  1. Anonymous
    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

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.