Adaptive Card: Text is not showing in bold

Dhangot, Shabbir 6 Reputation points
2022-06-07T09:58:21.797+00:00

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

209007-screenshot-2022-06-07-at-32657-pm.png

Microsoft Teams | Development
{count} votes

1 answer

Sort by: Most helpful
  1. Dhangot, Shabbir 6 Reputation points
    2022-06-24T14:32:02.897+00:00

    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.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.