Open midhunkalathilapipeople opened 7 months ago
As far as I know neither WebChat nor Composer don't support adaptive cards v. 1.5.
The supported version is v. 1.3.
Thank you for the quick support.
Getting same error even we tried with version 1.3.
Are they support array operation in composer ? I searched for some sample bot with the same , Didn't found.
I'm not seeing the support mentioned either. Does the card look the same (missing) after the version downgrade?
Hi @OEvgeny Yes. Looks same , Doesn't work.
I have below Json data that work in online adaptive card designer but the same code is not working in composer, Can anybody help on this?
Composer version: 2.1.3-nightly.364675.1a93f21 OS : Windows Framework: .NET
Below shared the Json data and AdaptiveCard jsonData:
`{ "code": "ER-13052", "expenses": [ {
] }`
AdaptiveCard:
{ "type": "AdaptiveCard", "body": [ { "type": "Container", "spacing": "Large", "style": "emphasis", "items": [ { "type": "ColumnSet", "columns": [ { "type": "Column", "items": [ { "type": "TextBlock", "weight": "Bolder", "text": "DATE", "wrap": true } ], "width": "auto" }, { "type": "Column", "spacing": "Large", "items": [ { "type": "TextBlock", "weight": "Bolder", "text": "CATEGORY", "wrap": true } ], "width": "stretch" }, { "type": "Column", "items": [ { "type": "TextBlock", "weight": "Bolder", "text": "AMOUNT", "wrap": true } ], "width": "auto" } ] } ], "bleed": true }, { "$data": "${expenses}", "type": "Container", "items": [ { "type": "ColumnSet", "columns": [ { "type": "Column", "items": [ { "type": "TextBlock", "text": "${formatDateTime(created_time, 'MM-dd')}", "wrap": true } ], "width": "auto" }, { "type": "Column", "spacing": "Medium", "items": [ { "type": "TextBlock", "text": "${description}", "wrap": true } ], "width": "stretch" }, { "type": "Column", "items": [ { "type": "TextBlock", "text": "$${formatNumber(total, 2)}", "wrap": true } ], "width": "auto" } ] } ] } ], "$schema": "http://adaptivecards.io/schemas/adaptive-card.json", "version": "1.5", "fallbackText": "This card requires Adaptive Cards v1.5 support to be rendered properly." }
Working screenshot on Online :
Error : The card is not showing in Emulator/Web Chat
Please suggest what changes will solve this.
Thanks in advance!!