Forum Discussion

shwetat280's avatar
shwetat280
Copper Contributor
Nov 18, 2024

Teams desktop client / Web version is not showing colors for table elements in adaptive card

Hello,

Since the recent Teams update, the Adaptive Card colors in logic app have stopped rendering correctly for Table elements. 
I am using post adaptive card in channel connector in logic app.

The colors display as expected in the Adaptive Card Designer, but not on the desktop or web versions of Teams. 

but when i send same adaptive card using logic app in teams,color not showing as expected

Adaptive card JSON :

{

    "schema": "http://adaptivecards.io/schemas/adaptive-card.json",

    "type": "AdaptiveCard",

    "version": "1.5",

    "msTeams": {

        "width": "full"

    },

    "body": [

        {

            "type": "Table",

            "columns": [

                {

                    "width": 1

                },

                {

                    "width": 1

                },

                {

                    "width": 1

                }

            ],

            "rows": [

                {

                    "type": "TableRow",

                    "cells": [

                        {

                            "type": "TableCell",

                            "items": [

                                {

                                    "type": "TextBlock",

                                    "text": "p1",

                                    "wrap": true

                                }

                            ]

                        },

                        {

                            "type": "TableCell",

                            "items": [

                                {

                                    "type": "TextBlock",

                                    "text": "41.00",

                                    "wrap": true

                                }

                            ]

                        },

                        {

                            "type": "TableCell",

                            "style": "good",

                            "items": [

                                {

                                    "type": "TextBlock",

                                    "text": "43.00",

                                    "wrap": true

                                }

                            ]

                        }

                    ]

                },

                {

                    "type": "TableRow",

                    "cells": [

                        {

                            "type": "TableCell",

                            "items": [

                                {

                                    "type": "TextBlock",

                                    "text": "p2",

                                    "wrap": true

                                }

                            ]

                        },

                        {

                            "type": "TableCell",

                            "items": [

                                {

                                    "type": "TextBlock",

                                    "text": "61.00",

                                    "wrap": true

                                }

                            ]

                        },

                        {

                            "type": "TableCell",

                            "style": "good",

                            "items": [

                                {

                                    "type": "TextBlock",

                                    "text": "64.00",

                                    "wrap": true

                                }

                            ]

                        }

                    ]

                }

            ]

        }

    ]

}

No RepliesBe the first to reply