While using in Visual Studio it suggest to use bolder in small letter but in actual its case sensitive and required Bolder with B in capital.
Adaptive Card: Text is not showing in bold
Dhangot, Shabbir
6
Reputation points
Hello MSFT team,
While I am designing adaptive card in designer setting weight and style of text block is showing properly but when I am sending this adaptive card in Microsoft Graph API that time adaptive card is losing this properties. Can you help to understand why its not working.
{
"type": "AdaptiveCard",
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"version": "1.3",
"msTeams": {
"width": "full"
},
"body": [
{
"type": "TextBlock",
"text": "${message}",
"wrap": true
},
{
"type": "ColumnSet",
"columns": [
{
"type": "Column",
"width": "auto",
"items": [
{
"type": "Image",
"url": "${floorplanImage}",
"width": "150px"
}
]
},
{
"type": "Column",
"width": "stretch",
"items": [
{
"type": "TextBlock",
"text": "${appTitle}",
"wrap": true,
"weight": "bolder",
"size": "Large"
},
{
"type": "TextBlock",
"text": "${linkText}",
"wrap": true,
"size": "Medium"
},
{
"type": "TextBlock",
"text": "${appDescription}",
"wrap": true,
"maxLines": 2
}
]
}
]
},
{
"type": "ActionSet",
"actions": [
{
"type": "Action.OpenUrl",
"title": "View",
"url": "${url}"
}
]
}
]
}
Below is output. Kindly help
Microsoft Teams | Development
4,135 questions