Hi,
I'm just programming an adaptive card containing a factset.
{
"body": [
{
"type": "TextBlock",
"size": "Medium",
"weight": "Bolder",
"text": "New Mail"
},
{
"type": "TextBlock",
"text": "New Mail received",
"wrap": true
},
{
"type": "FactSet",
"facts": [
{
"title": "From",
"value": "Sender@outlook.com"
},
{
"title": "Received",
"value": "2021/04/23"
},
{
"title": "File",
"value": "[Adaptive Cards](https://adaptivecards.io)"
}
]
}
]
}
I was just wondering if I can provide the data seperately as suggested in Microsoft Docs.
{
"type": "AdaptiveCard",
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"version": "1.2",
"$data": {
"properties": [
{
"key": "From",
"value": "Sender@outlook.com"
},
{
"key": "Received",
"value": "2021/04/23"
},
{
"key": "File",
"value": "[Adaptive Cards](https://adaptivecards.io)"
}
]
},
"body": [
{
"type": "TextBlock",
"size": "Medium",
"weight": "Bolder",
"text": "New Mail"
},
{
"type": "TextBlock",
"text": "New Mail received",
"wrap": true
},
{
"type": "FactSet",
"facts": [
{
"$data": "${properties}",
"title": "${key}:",
"value": "${value}"
}
]
}
]
}
This solution works perfectly in adaptivecards.io but it does not work in Teams.
Do you have any recommendations how to use the binding approach?
Best regards
Florian
Michael E. Gernaey
497
Super User 2025 Season 1
David_MA
436
Super User 2025 Season 1
Riyaz_riz11
244
Super User 2025 Season 1