Emulator does not render valid adaptive card in an activity
See original GitHub issueVersion of emulator: 4.9.1
The below activity has a valid adaptive card that renders properly in adaptivecards.io. In emulator it looks like the below. It seems related to having a curly bracest in the string value. If I change it to obj= and remove the trailing curly brace it works fine.
In emulator (wrong):
In adaptive cards designer (right):
Activity:
{
"type": "message",
"attachments": [
{
"contentType": "application/vnd.microsoft.card.adaptive",
"content": {
"type": "AdaptiveCard",
"version": "1.0",
"body": [
{
"type": "TextBlock",
"text": "simple",
"size": "large"
},
{
"type": "FactSet",
"facts": [
{
"title": "due",
"value": "{timex: [2020-06-01], type: date}"
}
]
}
],
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json"
}
}
]
}
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (7 by maintainers)
Top Results From Across the Web
Adaptive cards are not rendering on Bot Emulator v4.14.1
Even if I run the default code, the cards are not rendered. How do I resolve this and test the bot locally? teamsBot.js...
Read more >Add card actions in a bot - Teams - Microsoft Learn
Adaptive Cards with imBack action You can include additional hidden properties in the data object, if required. Set to imBack .
Read more >Bot Framework in Node.js - Adaptive Cards (part 7)
We first send the Adaptive Card as an attachment. We then send a Text prompt - but with no text. The Text prompts...
Read more >How to: Adaptive Cards and the MS Bot Framework - DEV ...
This time, I'd like to show you how to create a simple bot that can return an adaptive card as a response to...
Read more >Action.Execute - Schema Explorer | Adaptive Cards
Clients process the event by sending an Invoke activity of type adaptiveCard/action to the target Bot. The inputs that are gathered are those...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
In progress now - sorry @chrimc62 for the wait. Low on manpower haha.
Possibly related to Web Chat bug #3165