botframework-sdk
botframework-sdk copied to clipboard
Support for Adaptive Card Templating
Issue
It does not appear that the SDK (and Directline/Webchat) support Adaptive Card Templating.
Using sample 16 and sending the card below, it does not render in Emulator/Webchat/Teams.
{
"type": "AdaptiveCard",
"body": [
{
"type": "FactSet",
"facts": [
{
"$data": [
{
"key": "1",
"value": "first value"
},
{
"key": "2",
"value": "second value"
}
],
"title": "${key}:",
"value": "${value}"
}
]
}
],
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"version": "1.3"
}
Although, using the Designer and selecting "Bot Framework WebChat" host, it will render correctly (assuming it's just using a HTML renderer or something).
I am looking for confirmation that it is currently not supported/implemented as well as requesting comment on if this will be supported in the future of the SDK.
From what I can tell, it looks like templating is currently in preview.
This is separate from any issues with using Adaptive Expressions/LG along with Adaptive Card Templating.
Tracking Status
Dotnet SDK TODO
- [ ] PR
- [ ] Merged
Javascript SDK TODO
- [ ] PR
- [ ] Merged
Python SDK TODO
- [ ] PR
- [ ] Merged
Java SDK TODO
- [ ] PR
- [ ] Merged
Samples TODO
- [ ] PR
- [ ] Merged
Docs TODO
- [ ] PR
- [ ] Merged
Tools TODO
- [ ] PR
- [ ] Merged