Environment version: .NET 9.0.0 (9.0.0)
AdaptiveCards version: AdaptiveCards, Version=2.7.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
AdaptiveCards.Templating version: AdaptiveCards.Templating, Version=2.6.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Newtonsoft.Json version: Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
{
"type": "AdaptiveCard",
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"version": "1.4",
"body": [
{
"type": "TextBlock",
"text": "${formatDateTime(AdditionalData['DUE-DATE'], 'd.M.yyyy')}",
"wrap": true
}
]
}
read template: AdaptiveCards.Templating.AdaptiveCardTemplate. cardJson:
{"type":"AdaptiveCard","$schema":"http://adaptivecards.io/schemas/adaptive-card.json","version":"1.4","body":[{"type":"TextBlock","text":"10.9.2021","wrap":true}]}
AdaptiveCards.AdaptiveCardParseResult card created successfully with card.Card.ToJson():
{
"type": "AdaptiveCard",
"version": "1.4",
"body": [
{
"type": "TextBlock",
"text": "10.9.2021",
"wrap": true
}
]
}