Trigger and handle event on selecting any dropdown option in adaptive card.

Hasit Parmar 0 Reputation points
2024-07-11T12:58:52.5233333+00:00

We have created an Adaptive Card that includes a dropdown, which is rendered within a task module. When a user selects a value from the dropdown, we want to make external API calls (without any actionable buttons) and display the results in the task module.

Are there ways to achieve this use case?

Azure AI Bot Service
Azure AI Bot Service
An Azure service that provides an integrated environment for bot development.
822 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.
3,181 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Nivedipa-MSFT 3,006 Reputation points Microsoft Vendor
    2024-07-18T08:28:36.01+00:00

    Task modules can be invoked from tabs, bots, or deep links. Invoking a task module directly from a dropdown selection is not currently supported, you cannot display the result in the task module after selecting value from dropdown.
    This is byDesign behaviour.
    Ref Doc: https://learn.microsoft.com/en-us/microsoftteams/platform/task-modules-and-cards/task-modules/invoking-task-modules

    0 comments No comments

Your answer

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