Adaptive cards 1.5

Does Kore support MS teams Adaptive Card version 1.5

Thanks,
Viji

Hello @vijayalakshmigananat
As long as the right template is used, from Kore.ai end there should not be any constraints in supporting any version.
Did you try it as per ms teams documentation and did it not work? If so please share the sample template and link to the documentation followed.

Please find the table template used. The response is not getting printed

var msg = {“attachments”:[
{“contentType”:“application/vnd.microsoft.card.adaptive”,
“content”:
{
“type”: “AdaptiveCard”,
“$schema”: “http://adaptivecards.io/schemas/adaptive-card.json”,
“version”: “1.5”,
“body”: [
{
“type”: “Table”,
“gridStyle”: “accent”,
“firstRowAsHeaders”: true,
“columns”: [
{
“width”: 1
},
{
“width”: 1
},
{
“width”: 3
}
],
“rows”: [
{
“type”: “TableRow”,
“cells”: [
{
“type”: “TableCell”,
“items”: [
{
“type”: “TextBlock”,
“text”: “Name”,
“wrap”: true,
“weight”: “Bolder”
}
]
},
{
“type”: “TableCell”,
“items”: [
{
“type”: “TextBlock”,
“text”: “Type”,
“wrap”: true,
“weight”: “Bolder”
}
]
},
{
“type”: “TableCell”,
“items”: [
{
“type”: “TextBlock”,
“text”: “Description”,
“wrap”: true,
“weight”: “Bolder”
}
]
}
],
“style”: “accent”
},
{
“type”: “TableRow”,
“cells”: [
{
“type”: “TableCell”,
“style”: “good”,
“items”: [
{
“type”: “TextBlock”,
“text”: “columns”,
“wrap”: true
}
]
},
{
“type”: “TableCell”,
“style”: “warning”,
“items”: [
{
“type”: “TextBlock”,
“text”: “ColumnDefinition[]”,
“wrap”: true
}
]
},
{
“type”: “TableCell”,
“style”: “accent”,
“items”: [
{
“type”: “TextBlock”,
“text”: “Defines the table’s columns (number of columns, and column sizes).”,
“wrap”: true
}
]
}
]
},
{
“type”: “TableRow”,
“cells”: [
{
“type”: “TableCell”,
“style”: “good”,
“items”: [
{
“type”: “TextBlock”,
“text”: “rows”,
“wrap”: true
}
]
},
{
“type”: “TableCell”,
“style”: “accent”,
“items”: [
{
“type”: “TextBlock”,
“text”: “TableRow[]”,
“wrap”: true
}
]
},
{
“type”: “TableCell”,
“style”: “attention”,
“items”: [
{
“type”: “TextBlock”,
“text”: “Defines the rows of the Table, each being a collection of cells. Rows are not required, which allows empty Tables to be generated via templating without breaking the rendering of the whole card.”,
“wrap”: true
}
]
}
]
}
]
},
{
“type”: “Table”,
“gridStyle”: “accent”,
“firstRowAsHeaders”: true,
“showGridLines” : false,
“columns”: [
{
“width”: 1
},
{
“width”: 1
},
{
“width”: 3
}
],
“rows”: [
{
“type”: “TableRow”,
“cells”: [
{
“type”: “TableCell”,
“items”: [
{
“type”: “TextBlock”,
“text”: “Name”,
“wrap”: true,
“weight”: “Bolder”
}
]
},
{
“type”: “TableCell”,
“items”: [
{
“type”: “TextBlock”,
“text”: “Type”,
“wrap”: true,
“weight”: “Bolder”
}
]
},
{
“type”: “TableCell”,
“items”: [
{
“type”: “TextBlock”,
“text”: “Description”,
“wrap”: true,
“weight”: “Bolder”
}
]
}
],
“style”: “accent”
},
{
“type”: “TableRow”,
“cells”: [
{
“type”: “TableCell”,
“style”: “good”,
“items”: [
{
“type”: “TextBlock”,
“text”: “columns”,
“wrap”: true
}
]
},
{
“type”: “TableCell”,
“style”: “warning”,
“items”: [
{
“type”: “TextBlock”,
“text”: “ColumnDefinition[]”,
“wrap”: true
}
]
},
{
“type”: “TableCell”,
“style”: “accent”,
“items”: [
{
“type”: “TextBlock”,
“text”: “Defines the table’s columns (number of columns, and column sizes).”,
“wrap”: true
}
]
}
]
},
{
“type”: “TableRow”,
“cells”: [
{
“type”: “TableCell”,
“style”: “good”,
“items”: [
{
“type”: “TextBlock”,
“text”: “rows”,
“wrap”: true
}
]
},
{
“type”: “TableCell”,
“style”: “accent”,
“items”: [
{
“type”: “TextBlock”,
“text”: “TableRow[]”,
“wrap”: true
}
]
},
{
“type”: “TableCell”,
“style”: “attention”,
“items”: [
{
“type”: “TextBlock”,
“text”: “Defines the rows of the Table, each being a collection of cells. Rows are not required, which allows empty Tables to be generated via templating without breaking the rendering of the whole card.”,
“wrap”: true
}
]
}
]
}
]
}
]
}
}
]
};

print(JSON.stringify(msg));

@vijayalakshmigananat
Please point to the MS teams documentation related to this template.

Please refer the MS teams template below

https://adaptivecards.io/explorer/Table.html

Thanks,
Viji

@vijayalakshmigananat

As per Adaptive Cards Partners - Adaptive Cards | Microsoft Docs it looks like MS Teams itself supports up to v1.4. Would you agree?

Excerpt from the above URL:

Platform Description Documentation Schema Version
Bot Framework Web Chat Embeddable web chat control for the Microsoft Bot Framework Get Started 1.4 (Web Chat 4.14.1)
Outlook Actionable Messages Attach an actionable message to email Get Started 1.0
Microsoft Teams Platform that combines workplace chat, meetings, and notes Get Started 1.4
Cortana Skills A virtual assistant for Windows 10 Get Started 1.0
Windows Timeline A new way to resume past activities you started on this PC, other Windows PCs, and iOS/Android devices. Get Started 1.0
Cisco WebEx Teams Webex Teams helps speed up projects, build better relationships, and solve business challenges. Get Started 1.2

So, it looks like the support for 1.5 will not be dependent on Kore.ai. As and when bots framework and MS teams support, this template should be rendered properly.

We recommend you to check with the MS Teams support to know when v1.5 will be supported.