I am using a adaptive card. (Bot Framework SDK v3) I need to get the values in adaptive card and also i need to call some method in code behind. This is my adaptive cardAdaptive Card.
How to call method using action.submit in adaptive card Bot application
1.1k Views Asked by Subrak At
1
There are 1 best solutions below
Related Questions in BOTFRAMEWORK
- In TeamsFx, how to construct ConversationReference without having a saved reference?
- Add interruption button in Azure bot framework
- Single Tenant Teams Bot Authentication Error: Missing access_token
- How can I enable AAD SSO for bot so we can get user information via Teams toolkit
- Adaptive-card sortby on datetime property
- botbuilder send activity context on stream
- Unable to send message to my bot using direct line
- Cannot access to Azure Graph via BOT MS Teams
- Message alignment to the left for user and bot message bubble
- How to resolve Teams bot ID change after upgrade to TeamsFX v5
- Designing a truly multi-tenant ms teams app
- Microsoft Azure Bot Framework - Can bots with User Managed Identities be tested with "Test in Web Chat"?
- How to handle user's route on using python-telegram-bot?
- AdaptiveCard not rendering bullet list if the text is from variable
- how do you make an adaptive card input choice selection send the selected choice to the teams bot?
Related Questions in CORTANA
- How can I dynamically clear custom VCD commands from Cortana?
- Bot Channel Registration Cortana MSA
- Error: Unable to start a DCOM Server: Microsoft.Windows.Cortana
- How to continue old conversation in Cortana after user clicks on a card that invokes a URL?
- Cortana Bot Time Out
- I see that the Bing Skill doesn't work, when invoked from Cortana Channel
- I want to restart my watterfall dialog at it's beginning when it ends, using C#
- Launching UFT application makes Cortana use a lot more CPU and react a lot slower
- Cannot create/edit Cortana channel for Azure web-app bots
- Replicate WindowsCortanaPane as UrlReferrer
- How to create dynamic dialogs from REST API in botframework
- Cortana is still calling a bot I've deleted
- How to open a local application using Cortana skills
- What language is cortana programmed in?
- Cortana always shows error like "error": "Bot service failed with status code: NotFound"
Related Questions in ADAPTIVE-CARDS
- Send all list item comments with no mention by email
- PowerAutomate Adaptive Cards - Input.Choice set from dynamic list/array
- Adaptive-card sortby on datetime property
- Get User Response from Adaptive Card in an ASP.NET Razor Web App
- AdaptiveCard not rendering bullet list if the text is from variable
- how do you make an adaptive card input choice selection send the selected choice to the teams bot?
- Hide spfx adaptive card when there is no data and show when data is available
- Dynamically generating adaptive cards
- MS Teams Adaptive Card mentions break on refresh
- onAdaptiveCardInvoke method isn't triggered on Bot Framework Emulator / JavaScript - Bot Framework SDK
- Adaptive Card to send message to the end user by command / Bot Framework SDK - JavaScript - node.js
- Input.ChoiceSet is reset when "Action.Execute" button is clicked in the card
- How to right-align Icon for an adaptive card's action?
- Adaptive Card Title alignment problem in New Teams Application
- How can I invoke handleTeamsMessagingExtensionSelectItem when the tag is selected from list of Input.ChoiceSet?
Related Questions in CORTANA-INTELLIGENCE
- How to continue old conversation in Cortana after user clicks on a card that invokes a URL?
- How to call method using action.submit in adaptive card Bot application
- is it possible to add action.open url inside the body array in adaptive card?
- Get raw voice from speech- BotBuilder v4
- Conversational Analytics using Power BI & Cortana
- Adaptive card not displaying after publishing cortana channel
- Link Cortana Alert / Notification and Python
- Cortana to make phone call in Android through code
- Tableau and Cortana Integration
- Face Recognition API on Microsoft Azure
- Credentials don't work when adding Cortana channel to BOT
- Tune Model Hyperparameters Module: tune and cross validate at the same time
- How to connect Azure Data lake storage to Azure ML?
- Call stored procedure using ADF
- How to implement the Cortana Speech API or Bing Search API’s in QnA Maker Service?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I am going to guess at an answer; if you have read https://learn.microsoft.com/en-us/cortana/skills/adaptive-cards
Then your question might be "well, what does the response look like?" I agree, this is not clear in the documentation.
When you click a submit.action, you will get all the ids and values back in the message payload. For example, if you look at the input example here https://adaptivecards.io/samples/Inputs.html
Your response message to a click will be this
{"SimpleVal":"My name","UrlVal":"","EmailVal":"","TelVal":"","MultiLineVal":"","NumVal":"1","DateVal":"2017-09-20","TimeVal":"16:59","CompactSelectVal":"1","SingleSelectVal":"1","MultiSelectVal":"1;3","AcceptsTerms":"on","CommentVal":""}Your skill should be smart enough to recognize the message.text as json, and then use the id from the form field to glean the value.
Note that Cortana differs slightly in HOW adaptive card results are returned. Other channels will attach a value to the message so if you want to support multiple channels...
And also note that you can add data to the action too that could be sent in a payload