SOLVED

Getting values from adaptive cards

Copper Contributor

I have a messaging extension and want to create functionality such that when I run the action command, an adaptive card pops up with a list of options(see picture below). When an option is selected and the open button is pressed, a hero card should appear in the compose box with a button that depends on what option is selected. However, I can't find anything on how to actually access the values from the inputs of the adaptive card after an action.submit. Please advise on how to do this.

MST Adaptive Card Submit.PNG

2 Replies

@marcusyoung 

 

@Yannick Reekmans may be able to help you with this one 

 

Best, Chris

best response confirmed by ThereseSolimeno (Microsoft)
Solution
Maybe this Microsoft Learn module can help you out? => https://docs.microsoft.com/en-us/learn/modules/msteams-task-modules/6-use-task-modules-bots

In essence: you need to invoke the Task Module (pop up) in a certain way to receive the response.
1 best response

Accepted Solutions
best response confirmed by ThereseSolimeno (Microsoft)
Solution
Maybe this Microsoft Learn module can help you out? => https://docs.microsoft.com/en-us/learn/modules/msteams-task-modules/6-use-task-modules-bots

In essence: you need to invoke the Task Module (pop up) in a certain way to receive the response.

View solution in original post